commit | 8bb7dd5dde86f388ff7087e5761dae7fed33cdc5 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri May 09 05:34:49 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri May 09 05:34:49 2008 +0000 |
tree | 298ec9aabaa2246588b2c894448c9107c20d9e41 | |
parent | 02d3c7364dacb3ac26069cb78a05fdcc62c05551 [diff] [blame] |
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
diff --git a/test/Sema/struct-packed-align.c b/test/Sema/struct-packed-align.c index f718343..f759e37 100644 --- a/test/Sema/struct-packed-align.c +++ b/test/Sema/struct-packed-align.c
@@ -62,3 +62,10 @@ 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)); +};