From: Eli Friedman Date: Wed, 21 May 2008 05:37:55 +0000 (+0000) Subject: Fix this test so that it's valid; the point is to test for the crash, X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b2564c5d968657a35025239ee681f288d83be41;p=clang Fix this test so that it's valid; the point is to test for the crash, not the missing diagnostic. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51365 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/vla.c b/test/Sema/vla.c index fcb533adbc..e8956fd78a 100644 --- a/test/Sema/vla.c +++ b/test/Sema/vla.c @@ -8,7 +8,7 @@ int test1() { // PR2347 void f (unsigned int m) { - extern int e[2][m]; + int e[2][m]; e[0][0] = 0; }