diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/g++.dg/cpp1y/phoobhar.h')
-rw-r--r-- | gcc-4.9/gcc/testsuite/g++.dg/cpp1y/phoobhar.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/g++.dg/cpp1y/phoobhar.h b/gcc-4.9/gcc/testsuite/g++.dg/cpp1y/phoobhar.h new file mode 100644 index 000000000..7feec3649 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/g++.dg/cpp1y/phoobhar.h @@ -0,0 +1,16 @@ + +int +phoo(); + +int +bhar(); + +#ifndef __has_include_next +# error "__has_include_next" +#else +# if __has_include_next("phoobhar.h") +# include_next "phoobhar.h" +# else +# error "__has_include_next(\"phoobhar.h\")" +# endif +#endif |