we can parse lots of assembler constraints now (but not all yet), and emit immediates...
[libfirm] / ir / be / test / bitfield.c
index 93d1d89..5703c68 100644 (file)
@@ -1,3 +1,7 @@
+struct a {
+       unsigned int i:1;
+};
+
 struct b {
   int x:20;
   int y:8;
@@ -9,6 +13,7 @@ struct b C = { 1, 2, 3 };
 
 int main()
 {
+  printf("sizeof(struct a) = %zu\n", sizeof(struct a));
   printf("sizeof(B) = %d\n", sizeof(B));
 
   printf("x = %d\n", B.x);