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