| 1 |
// RUN: %clang_cc1 %s -Eonly -verify |
| 2 |
|
| 3 |
// expected-error@9 {{EOF}} |
| 4 |
#define COMM / ## * |
| 5 |
COMM // expected-error {{pasting formed '/*', an invalid preprocessing token}} |
| 6 |
|
| 7 |
// Demonstrate that an invalid preprocessing token |
| 8 |
// doesn't swallow the rest of the file... |
| 9 |
#error EOF |