commit | 35ab4f9e99ba3bbaf266ca8689252c51da3575b2 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Tue Jan 29 01:15:48 2008 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Tue Jan 29 01:15:48 2008 +0000 |
tree | 6bf6cb0df06894c5a37b8c41027105fecddc0b64 | |
parent | 2df0262a1eb41b8fef61ba4998b7c68d2f1153fe [diff] [blame] |
Correctly handle scalars in braces. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46480 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/globalinit.c b/test/CodeGen/globalinit.c index 717b0c1..13a9e93 100644 --- a/test/CodeGen/globalinit.c +++ b/test/CodeGen/globalinit.c
@@ -32,3 +32,6 @@ static _Bool booltest3 = 4; } +// Braces in a scalar +int a = { 1 }; +int b = { 1, 2 };