summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pch/valid-1.c
blob: b7f22d0dc17a12cd32a69cafc046809b7a487394 (plain)
1
2
3
4
5
6
7
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;