diff options
author | Chris Lattner <sabre@nondot.org> | 2008-05-09 05:34:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-05-09 05:34:49 +0000 |
commit | abb575866059c9bb74fe4aa32372f002143fa87c (patch) | |
tree | 298ec9aabaa2246588b2c894448c9107c20d9e41 /test/Sema/struct-packed-align.c | |
parent | 039a64212713aebdcc196ea41135c2af4f4386dc (diff) |
Fix rdar://5921025 a crash on the included testcase.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50885 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/struct-packed-align.c')
-rw-r--r-- | test/Sema/struct-packed-align.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Sema/struct-packed-align.c b/test/Sema/struct-packed-align.c index f718343563..f759e37a1d 100644 --- a/test/Sema/struct-packed-align.c +++ b/test/Sema/struct-packed-align.c @@ -62,3 +62,10 @@ struct __attribute__((packed)) as3 { extern int g1[sizeof(struct as3) == 16 ? 1 : -1]; extern int g2[__alignof(struct as3) == 8 ? 1 : -1]; + + +// rdar://5921025 +struct packedtest { + int ted_likes_cheese; + void *args[] __attribute__((packed)); +}; |