gcc/testsuite/gcc.dg/pch/valid-2.c
raw| 1 | /* { dg-options "-I. -Winvalid-pch -fexceptions" } */ |
| 2 | /* { dg-require-effective-target exceptions } */ |
| 3 | #include "valid-2.h" /* { dg-warning "settings for -fexceptions do not match" } */ |
| 4 | /* { dg-error "No such file" "no such file" { target *-*-* } 0 } */ |
| 5 | /* { dg-error "they were invalid" "invalid files" { target *-*-* } 0 } */ |
| 6 | /* { dg-message "terminated" "" { target *-*-* } 0 } */ |
| 7 | int x; |