| 1 |
/* { dg-do preprocess } */ |
| 2 |
/* { dg-options "-std=c99 -Wtrigraphs" } */ |
| 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 |
|