aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-09 21:19:23 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-09 21:19:23 +0000
commit1efee7879cd4c6dda74f38f807155a8497fd046d (patch)
tree1f95ff6f2468620fb6c9fb6caf7badba8894c41f
parentf02da89d7bddc319be52605d36442518647116b4 (diff)
Update test case; VLA's are now supported.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64168 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/unsupported.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/CodeGen/unsupported.c b/test/CodeGen/unsupported.c
index 383a06bd1a..c11f1d1ef9 100644
--- a/test/CodeGen/unsupported.c
+++ b/test/CodeGen/unsupported.c
@@ -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}}