diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pch/valid-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pch/valid-2.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pch/valid-2.c b/gcc/testsuite/gcc.dg/pch/valid-2.c new file mode 100644 index 000000000..3d8cb1427 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pch/valid-2.c @@ -0,0 +1,7 @@ +/* { dg-options "-I. -Winvalid-pch -fexceptions" } */ + +#include "valid-2.h" /* { dg-warning "settings for -fexceptions do not match" } */ +/* { dg-error "No such file" "no such file" { target *-*-* } 0 } */ +/* { dg-error "they were invalid" "invalid files" { target *-*-* } 0 } */ +/* { dg-message "terminated" "" { target *-*-* } 0 } */ +int x; |