empty initializers
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 14 Mar 2008 16:31:49 +0000 (16:31 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 14 Mar 2008 16:31:49 +0000 (16:31 +0000)
[r18945]

parsetest/l1.c [new file with mode: 0644]

diff --git a/parsetest/l1.c b/parsetest/l1.c
new file mode 100644 (file)
index 0000000..3a6b156
--- /dev/null
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+struct x {};
+struct x a[] = { {}, {} };
+
+int size = sizeof(a);
+
+int main() {
+       printf("%d\n", sizeof(a));
+}