gcc/testsuite/g++.dg/diagnostic/pr77949.C
raw| 1 | // Ensure that fix-it hints are emitted even at a large column number. |
| 2 | // { dg-options "-fdiagnostics-parseable-fixits" } |
| 3 | |
| 4 | /* Very long line, where a missing semicolon would be suggested for |
| 5 | insertion at column 4097. */ |
| 6 | class test { } |
| 7 | // { dg-error "-: expected .;. after class definition" "" { target *-*-* } .-1 } |
| 8 | /* { dg-begin-multiline-output "" } |
| 9 | fix-it: |
| 10 | { dg-end-multiline-output "" } */ |