OSDN Git Service

PR preprocessor/15638
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pch / valid-1.c
1 /* { dg-options "-I. -Winvalid-pch -g" } */
2
3 #include "valid-1.h"/* { dg-warning "created with -gnone, but used with -g" } */
4 /* { dg-error "No such file" "no such file" { target *-*-* } 3 } */
5 /* { dg-error "they were invalid" "invalid files" { target *-*-* } 3 } */
6 /* { dg-message "terminated" "" { target *-*-* } 0 } */
7
8 int x;