aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/cpp/Wmissingdirs.c
blob: 69b3aae3da603390ec85b2870513ff656d8a74fd (plain)
1
2
3
4
5
6
7
/* { dg-do preprocess } */
/* { dg-options "-std=gnu99 -I /jolly/well/better/not/exist -Wmissing-include-dirs" } */

/* Test that -Wmissing-include-dirs issues a warning when a specified
   directory does not exist.  Source Ben Elliston, 2004-05-13.  */

/* { dg-warning "No such file or directory" "-Wmissing-include-dirs" { target *-*-* } 0 } */