fix to pass the host regression test
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 31 Aug 2008 10:47:20 +0000 (10:47 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 31 Aug 2008 10:47:20 +0000 (10:47 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5226 4a8a32a2-be11-0410-ad9d-d568d2c75423

support/regression/tests/bug-1981238.c

index e9b4cb9d1922bbf14da2ae616ec52ffc9469b534..1934f5e81c0f3c5815686641e74898eb02559c2c 100644 (file)
@@ -5,23 +5,23 @@
 
 code struct {
   char x:1;
-  char :0;
+  char  :0;
   char d:2;
   char b:6;
-} pad ={1, 2, 1};
+} pad = {1, 2, 1};
 
 code struct {
   int p:1;
   int q:7;
-  int :0;
+  char :0;
   int s:1;
   int t:7;
-} noPad ={1, 120, 1, 1, 127};
+} noPad = {1, 120, 1, 1, 127};
 
 code struct {
-  char :0;
+  char  :0;
   char b;
-} initialNoPad[] ={{1, 2}, {3,4}};
+} initialNoPad[] = {{1, 2}, {3,4}};
 
 void testBitfield (void)
 {