fix to pass the host regression test
[fw/sdcc] / 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)
 {