Author: ddunbar
Date: Mon Oct 27 17:11:01 2008
New Revision: 58286

URL: http://llvm.org/viewvc/llvm-project?rev=58286&view=rev
Log:
Add test case to exercise IRgen "unsupported" path (mostly cleanup).

Added:
    cfe/trunk/test/CodeGen/unsupported.c

Added: cfe/trunk/test/CodeGen/unsupported.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/unsupported.c?rev=58286&view=auto

==============================================================================
--- cfe/trunk/test/CodeGen/unsupported.c (added)
+++ cfe/trunk/test/CodeGen/unsupported.c Mon Oct 27 17:11:01 2008
@@ -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];
+}


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to