OSDN Git Service

gcc/testsuite
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / cpp / Wtrigraphs-2.c
1 /* { dg-do preprocess } */
2 /* { dg-options "-std=c99 -Wtrigraphs -fno-show-column" } */
3
4 /* Test warnings for trigraphs in comments, with trigraphs enabled.
5    Neil Booth.  4 May 2003.  */
6
7 /* { dg-bogus "converted" } Test ??< ??= a few ??/ random things in
8    { dg-warning "converted" } some ??/
9    { dg-bogus "converted" } ??< comments.  */
10
11 // { dg-bogus "converted" } More ??/ comment ??> tests.
12
13 // { dg-warning "converted" } Another ??/
14    Test
15
16 // { dg-warning "converted" } And another with space after ??/  
17    the escape
18
19 // { dg-bogus "converted" } A tricky one ??/\
20