diff options
author | Devang Patel <dpatel@apple.com> | 2008-02-05 02:39:50 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-02-05 02:39:50 +0000 |
commit | eae1560d4fb99b9df814bc12c0419825996156cd (patch) | |
tree | b7d0f265c933266b30b112c9e5b303295dfe213e /test/CodeGen/struct.c | |
parent | 0ded75bc88b40607aa5baced6e4729774ed2df56 (diff) |
Cleanup InitListExpr code generation code.
Handle padding fields while initializing struct (fix PR 1962)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/struct.c')
-rw-r--r-- | test/CodeGen/struct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c index 919983938f..fc79f0a2f4 100644 --- a/test/CodeGen/struct.c +++ b/test/CodeGen/struct.c @@ -140,3 +140,4 @@ void f12() /* struct initialization */ struct a13 {int b; int c}; struct a13 c13 = {5}; +struct a14 { short a; int b; } x = {1, 1}; |