gcc/testsuite/g++.dg/diagnostic/pr72803.C
raw| 1 | /* Long line, with a close brace at column 511, hence with the insertion |
| 2 | point for the missing semicolon at column 512. */ |
| 3 | class test { } |
| 4 | # 1 "" 1 |
| 5 | // The line directive appears to be necessary to trigger the ICE |
| 6 | // { dg-error "style of line directive is a GCC extension" "" { target *-*-* } .-2 } |
| 7 | |
| 8 | /* Verify that we get the correct line and column for the diagnostic. */ |
| 9 | // { dg-error "512: expected .;. after class definition" "" { target *-*-* } 3 } |