aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/struct.c')
-rw-r--r--test/CodeGen/struct.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c
index be5917a3da..919983938f 100644
--- a/test/CodeGen/struct.c
+++ b/test/CodeGen/struct.c
@@ -135,4 +135,8 @@ void f12()
const struct _a a2;
a1 = a2;
-} \ No newline at end of file
+}
+
+/* struct initialization */
+struct a13 {int b; int c};
+struct a13 c13 = {5};