]> granicus.if.org Git - clang/commitdiff
Update test case; VLA's are now supported.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 9 Feb 2009 21:19:23 +0000 (21:19 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 9 Feb 2009 21:19:23 +0000 (21:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64168 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/unsupported.c

index 383a06bd1ac9337adfb60ba1d6aa739a538e38e7..c11f1d1ef9db6cce038440baedf222d60dcfb7a3 100644 (file)
@@ -1,6 +1,3 @@
 // RUN: clang -verify -emit-llvm -o - %s 
 
-int f0(int x) {
-  int vla[x];
-  return vla[x-1]; // expected-error {{cannot compile this return inside scope with VLA yet}}
-}
+void *x = L"foo"; // expected-error {{cannot compile this wide string yet}}