aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/init.c')
-rw-r--r--test/CodeGen/init.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/init.c b/test/CodeGen/init.c
new file mode 100644
index 0000000000..77a85fa75c
--- /dev/null
+++ b/test/CodeGen/init.c
@@ -0,0 +1,7 @@
+// RUN: clang -emit-llvm %s
+void f1()
+{
+ // Braces in a scalar
+ int a = { 1 };
+ int b = { 1, 2 };
+} \ No newline at end of file