From 6b2564c5d968657a35025239ee681f288d83be41 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Wed, 21 May 2008 05:37:55 +0000 Subject: [PATCH] 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 --- test/Sema/vla.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0