add testcase for empty structs
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 1 Sep 2008 00:31:08 +0000 (00:31 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 1 Sep 2008 00:31:08 +0000 (00:31 +0000)
[r21614]

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

diff --git a/parsetest/gnu99/emptystruct.c b/parsetest/gnu99/emptystruct.c
new file mode 100644 (file)
index 0000000..65ee65c
--- /dev/null
@@ -0,0 +1,5 @@
+struct empty {};
+
+int main(int argc, char *argv[]) {
+       return sizeof(struct empty);
+}