]> granicus.if.org Git - clang/commitdiff
switch to using -verify
authorChris Lattner <sabre@nondot.org>
Sat, 4 Oct 2008 19:43:25 +0000 (19:43 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 4 Oct 2008 19:43:25 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57068 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/undef-error.c

index af9f516f11cedcb31f3bba0d53ca16c274a8a104..a2769345babf7cc98832d147f88f5756f3703ad2 100644 (file)
@@ -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