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