diff options
author | Anders Carlsson <andersca@mac.com> | 2008-01-29 01:15:48 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2008-01-29 01:15:48 +0000 |
commit | f6884ac7cfc4c5562c0678ad65b3460a38f56e23 (patch) | |
tree | 6bf6cb0df06894c5a37b8c41027105fecddc0b64 /test/CodeGen/globalinit.c | |
parent | ff6e3c596e38328447461894cb8fd3ae22f499c4 (diff) |
Correctly handle scalars in braces.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46480 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/globalinit.c')
-rw-r--r-- | test/CodeGen/globalinit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/globalinit.c b/test/CodeGen/globalinit.c index 717b0c1cfb..13a9e930bd 100644 --- a/test/CodeGen/globalinit.c +++ b/test/CodeGen/globalinit.c @@ -32,3 +32,6 @@ void booltest2() { static _Bool booltest3 = 4; } +// Braces in a scalar +int a = { 1 }; +int b = { 1, 2 }; |