commit | d72d10105df320bb9a28eaa721ae53aa144d25c2 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Tue Jan 29 23:23:18 2008 +0000 |
committer | Devang Patel <dpatel@apple.com> | Tue Jan 29 23:23:18 2008 +0000 |
tree | cc422498075ee0aa854dc7ad50faf528e7d7415c | |
parent | 499bf41ed7af222723eda7d0e0e3364f688d92ab [diff] [blame] |
Handle incomplete struct initializer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46534 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c index be5917a..9199839 100644 --- a/test/CodeGen/struct.c +++ b/test/CodeGen/struct.c
@@ -135,4 +135,8 @@ const struct _a a2; a1 = a2; -} \ No newline at end of file +} + +/* struct initialization */ +struct a13 {int b; int c}; +struct a13 c13 = {5};