aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/undef-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/undef-error.c')
-rw-r--r--test/Preprocessor/undef-error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Preprocessor/undef-error.c b/test/Preprocessor/undef-error.c
index af9f516f11..a2769345ba 100644
--- a/test/Preprocessor/undef-error.c
+++ b/test/Preprocessor/undef-error.c
@@ -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