[cfe-commits] r57068 - /cfe/trunk/test/Preprocessor/undef-error.c
Chris Lattner
sabre at nondot.org
Sat Oct 4 12:43:25 PDT 2008
Author: lattner
Date: Sat Oct 4 14:43:25 2008
New Revision: 57068
URL: http://llvm.org/viewvc/llvm-project?rev=57068&view=rev
Log:
switch to using -verify
Modified:
cfe/trunk/test/Preprocessor/undef-error.c
Modified: cfe/trunk/test/Preprocessor/undef-error.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/undef-error.c?rev=57068&r1=57067&r2=57068&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/undef-error.c (original)
+++ cfe/trunk/test/Preprocessor/undef-error.c Sat Oct 4 14:43:25 2008
@@ -1,5 +1,5 @@
-// RUN: not clang %s -pedantic-errors -E
+// RUN: clang %s -pedantic-errors -verify
// PR2045
#define b
-#undef a b
+/* expected-error {{extra tokens at end of #undef directive}} */ #undef a b
More information about the cfe-commits
mailing list