OSDN Git Service

* gcc.dg/cpp/separate-1.c: Adjust line of error. Test for correct
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / cpp / lexident.c
1 /* Copyright (C) 2000 Free Software Foundation, Inc.  */
2
3 /* { dg-do preprocess } */
4 /* { dg-options "-trigraphs" } */
5
6 /* Test lexing of identifiers.  */
7
8 /* Escaped newlines, _ and $ in identifiers.  */
9 #def\
10 \
11 ine foo_
12
13 #d\
14 ef??/
15 in\
16 e b\
17 a$r
18
19 #ifndef foo_
20 #error foo_
21 #endif
22
23 #ifndef ba$r
24 #error ba$r
25 #endif