Add some ErrorUnsupported calls and turn on VLA codegen again.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61283 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/unsupported.c b/test/CodeGen/unsupported.c
index 2c87163..664119a 100644
--- a/test/CodeGen/unsupported.c
+++ b/test/CodeGen/unsupported.c
@@ -1,6 +1,6 @@
// RUN: clang -verify -emit-llvm -o %t %s
int f0(int x) {
- int vla[x]; // expected-error {{cannot codegen this variable-length array yet}}
- return vla[x-1];
+ int vla[x];
+ return vla[x-1]; // expected-error {{cannot codegen this return inside scope with VLA yet}}
}