llvm-project/clang/test/Preprocessor/undef-error.c

6 lines
145 B
C

// RUN: %clang_cc1 %s -pedantic-errors -verify
// PR2045
#define b
/* expected-error {{extra tokens at end of #undef directive}} */ #undef a b