1 // RUN: clang-cc %s -pedantic-errors -verify
2 // PR2045
3 
4 #define b
5 /* expected-error {{extra tokens at end of #undef directive}} */ #undef a b
6