diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pch/valid-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pch/valid-1.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pch/valid-1.c b/gcc/testsuite/gcc.dg/pch/valid-1.c new file mode 100644 index 000000000..b7f22d0dc --- /dev/null +++ b/gcc/testsuite/gcc.dg/pch/valid-1.c @@ -0,0 +1,8 @@ +/* { dg-options "-I. -Winvalid-pch -g" } */ + +#include "valid-1.h"/* { dg-warning "created with -gnone, but used with -g" } */ +/* { 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; |