diff options
author | Devang Patel <dpatel@apple.com> | 2008-01-29 23:23:18 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-01-29 23:23:18 +0000 |
commit | 47fb6977509a285501d02611845e9f8e081a15e1 (patch) | |
tree | cc422498075ee0aa854dc7ad50faf528e7d7415c /test/CodeGen/struct.c | |
parent | a0f55792409289d1d343023fa8292cff6355e538 (diff) |
Handle incomplete struct initializer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/struct.c')
-rw-r--r-- | test/CodeGen/struct.c | 6 |
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}; |