| OLD | NEW |
| 1 /* Copyright 2003 Free Software Foundation. */ | 1 /* Copyright 2003 Free Software Foundation. */ |
| 2 | 2 |
| 3 /* { dg-do compile } */ | 3 /* { dg-do compile } */ |
| 4 /* { dg-options "-save-temps" } */ | 4 /* { dg-options "-save-temps" } */ |
| 5 | 5 |
| 6 /* Make sure we report errors in the right line, even if separate | 6 /* Make sure we report errors in the right line, even if separate |
| 7 preprocessing is used. */ | 7 preprocessing is used. */ |
| 8 | 8 |
| 9 #define FOO() | 9 #define FOO() |
| 10 | 10 |
| 11 int FOO( /* { dg-error "parse error|syntax error|expected" "error on this line"
} */ | 11 int FOO( |
| 12 » ), bar; | 12 » ), bar; /* { dg-error "parse error|syntax error|expected" "error on this
line" } */ |
| 13 | 13 |
| 14 int baz FOO /* { dg-error "parse error|syntax error|expected" "error on this lin
e" } */ | 14 int baz FOO /* { dg-error "parse error|syntax error|expected" "error on this lin
e" } */ |
| 15 ; | 15 ; |
| 16 | 16 |
| 17 /* { dg-final { cleanup-saved-temps } } */ | 17 /* { dg-final { cleanup-saved-temps } } */ |
| OLD | NEW |