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 | 45a65d2ee19e349c3f98a4e4b586c96963ed947f (patch) | |
tree | defaa6da727617374a32633670f7f23106540047 /clang/test/CodeGen/struct.c | |
parent | 284011b462938b7b60af89839dec32948f4d4b23 (diff) | |
download | bcm5719-llvm-45a65d2ee19e349c3f98a4e4b586c96963ed947f.tar.gz bcm5719-llvm-45a65d2ee19e349c3f98a4e4b586c96963ed947f.zip |
Handle incomplete struct initializer.
llvm-svn: 46534
Diffstat (limited to 'clang/test/CodeGen/struct.c')
-rw-r--r-- | clang/test/CodeGen/struct.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/test/CodeGen/struct.c b/clang/test/CodeGen/struct.c index be5917a3da9..919983938f1 100644 --- a/clang/test/CodeGen/struct.c +++ b/clang/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}; |