Add test case to exercise IRgen "unsupported" path (mostly cleanup).

llvm-svn: 58286
This commit is contained in:
Daniel Dunbar 2008-10-27 22:11:01 +00:00
parent 1a0625e5cf
commit 0b288b8a59
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +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];
}