"__code" keyword replaces with "code" macro
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 22 Apr 2007 16:59:19 +0000 (16:59 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 22 Apr 2007 16:59:19 +0000 (16:59 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4765 4a8a32a2-be11-0410-ad9d-d568d2c75423

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'