2015-05-04 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / pch / warn-1.c
blob1d31cef0544228a92112a2891872199926aad7b6
1 /* { dg-options "-I. -Winvalid-pch" } */
3 #define DEFINED_VALUE 3
5 #include "warn-1.h"/* { dg-warning "not used because .DEFINED_VALUE. is defined" } */
6 /* { dg-error "No such file" "no such file" { target *-*-* } 0 } */
7 /* { dg-error "they were invalid" "invalid files" { target *-*-* } 0 } */
8 /* { dg-message "terminated" "" { target *-*-* } 0 } */
11 int main(void)
13 return DEFINED_VALUE;