commit | fa1b4e512b091cb2cbe1997c33c1b0642a564d6c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Nov 12 21:25:45 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Nov 12 21:25:45 2008 +0000 |
tree | aaefb9c16d4cf87f52b99150ee350b67a2821b2d | |
parent | 06ced4227645a55549cca23b02a7cacb5dde52d5 [diff] [blame] |
Fix a FIXME by improving a diagnostic, add a testcase for PR3048 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59167 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/vla.c b/test/Sema/vla.c index 5f4857e..682d2fb 100644 --- a/test/Sema/vla.c +++ b/test/Sema/vla.c
@@ -13,3 +13,6 @@ e[0][0] = 0; } +// PR3048 +int x = sizeof(struct{char qq[x];}); // expected-error {{fields must have a constant size}} +