xref: /llvm-project/clang/test/Preprocessor/undef-error.c (revision ccf43ca05cb1540f3d95a73b7b329bf926808c7b)
1 // RUN: %clang_cc1 %s -pedantic-errors -Wno-empty-translation-unit -verify
2 // PR2045
3 
4 #define b
5 /* expected-error {{extra tokens at end of #undef directive}} */ #undef a b
6