| 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 |
| 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 |