diff options
Diffstat (limited to 'clang/test/Preprocessor/undef-error.c')
-rw-r--r-- | clang/test/Preprocessor/undef-error.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/undef-error.c b/clang/test/Preprocessor/undef-error.c new file mode 100644 index 0000000..ad611de --- /dev/null +++ b/clang/test/Preprocessor/undef-error.c @@ -0,0 +1,5 @@ +// RUN: %clang_cc1 %s -pedantic-errors -verify +// PR2045 + +#define b +/* expected-error {{extra tokens at end of #undef directive}} */ #undef a b |