| 1 |
int 1; |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-fdiagnostics-show-caret" } */ |
| 4 |
|
| 5 |
/* This file begins with a UTF-8 byte order mark. Verify that diagnostics |
| 6 |
still point to the right place, since the stripping of the BOM happens twice, |
| 7 |
once when libcpp reads the file, and once when diagnostics infrastucture |
| 8 |
reads it. */ |
| 9 |
|
| 10 |
/* { dg-error "expected .* before numeric constant" "" { target *-*-*} 1 } */ |
| 11 |
/* { dg-begin-multiline-output "" } |
| 12 |
int 1; |
| 13 |
^ |
| 14 |
{ dg-end-multiline-output "" } */ |