"__code" keyword replaces with "code" macro
[fw/sdcc] / support / regression / tests / bug-1699804.c
index f11478bf05849318f19d1367936539abe04afb4b..b63d0a779a3a545e85700b9c7b3e107910486141 100644 (file)
@@ -4,12 +4,12 @@
 
 #include <testfwk.h>
 
-static __code const char Str_global[] = "Hello1";
+static code const char Str_global[] = "Hello1";
 char s1, s2;
 
 void testFoo(void)
 {
-  static __code const char str_local[] = "Hello2";
+  static code const char str_local[] = "Hello2";
 
   static char str1[sizeof(Str_global)];
   static char str2[sizeof(str_local)]; // causes error 20: Undefined identifier 'str_local'