gcc/testsuite/g++.old-deja/g++.other/lex1.C
raw| 1 | // { dg-do assemble } |
| 2 | // |
| 3 | // Copyright (C) 2001 Free Software Foundation, Inc. |
| 4 | // Contributed by Nathan Sidwell 26 April 2001 <[email protected]> |
| 5 | |
| 6 | // Bug 2510. We ICEd when a bogus char was present. |
| 7 | |
| 8 | void foo () |
| 9 | { |
| 10 | // there is a ctrl-h on the next line |
| 11 | // { dg-error "" } stray char |
| 12 | } |