[cfe-commits] r40173 - /cfe/trunk/test/Sema/arg-invalid.c
Chris Lattner
sabre at nondot.org
Fri Jul 20 22:32:22 PDT 2007
Author: lattner
Date: Sat Jul 21 00:32:22 2007
New Revision: 40173
URL: http://llvm.org/viewvc/llvm-project?rev=40173&view=rev
Log:
testcase from neil
Added:
cfe/trunk/test/Sema/arg-invalid.c
Added: cfe/trunk/test/Sema/arg-invalid.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/arg-invalid.c?rev=40173&view=auto
==============================================================================
--- cfe/trunk/test/Sema/arg-invalid.c (added)
+++ cfe/trunk/test/Sema/arg-invalid.c Sat Jul 21 00:32:22 2007
@@ -0,0 +1,6 @@
+// RUN: clang %s -parse-ast-check
+
+void bar (void *);
+void f11 (z) // expected-error {{may not have 'void' type}}
+void z;
+{ bar (&z); }
More information about the cfe-commits
mailing list