diff options
author | Chris Lattner <sabre@nondot.org> | 2010-10-10 18:16:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-10-10 18:16:20 +0000 |
commit | 16c5dea6c2d3e4cf529de9d9b37f6a40441acb2c (patch) | |
tree | 75107cd54912953a7975dc2ea367b1097b31f6ba /test/Sema/init.c | |
parent | 9046c224f16be3cef84f03b96a6c00a621c8383e (diff) |
fix PR8217, a silent miscompilation of invalid code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116166 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/init.c')
-rw-r--r-- | test/Sema/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Sema/init.c b/test/Sema/init.c index 76f35303d7..f8110079d0 100644 --- a/test/Sema/init.c +++ b/test/Sema/init.c @@ -143,3 +143,4 @@ int PR4386_a = ((void *) PR4386_bar) != 0; int PR4386_b = ((void *) PR4386_foo) != 0; // expected-error{{initializer element is not a compile-time constant}} int PR4386_c = ((void *) PR4386_zed) != 0; int PR4386_zed() __attribute((weak)); + |