diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pch/valid-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pch/valid-2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/pch/valid-2.c b/gcc/testsuite/gcc.dg/pch/valid-2.c index 52a2e35..3ae1818 100644 --- a/gcc/testsuite/gcc.dg/pch/valid-2.c +++ b/gcc/testsuite/gcc.dg/pch/valid-2.c @@ -1,5 +1,6 @@ /* { dg-options "-I. -Winvalid-pch -fexceptions" } */ -#include "valid-2.h"/* { dg-error "settings for -fexceptions do not match|No such file|they were invalid" } */ - +#include "valid-2.h" /* { dg-warning "settings for -fexceptions do not match" } */ +/* { dg-error "No such file" "" { target *-*-* } 3 } */ +/* { dg-error "they were invalid" "" { target *-*-* } 3 } */ int x; |