blob: 4ddd9654c3b4a364703b33db02c60011729ee900 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* Test for erroneously thinking comments are token-pastes.
From XFree86 4.0. */
/* { dg-do preprocess } */
#ifndef foo
#define foo /**/
#endif
/* { dg-bogus "(start|end) of macro" "paste at end" { target *-*-* } .-1 } */
#ifndef foo
#define foo /* as nothing */
#endif
/* { dg-bogus "(start|end) of macro" "comment at end" { target *-*-* } .-1 } */
|