diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/pr20356.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/pr20356.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/pr20356.c b/gcc/testsuite/gcc.dg/cpp/pr20356.c new file mode 100644 index 000000000..469ab0c0f --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/pr20356.c @@ -0,0 +1,14 @@ +/* PR preprocessor/20356 */ +/* { dg-do compile } */ +/* { dg-options "-I$srcdir/gcc.dg/cpp -I$srcdir/gcc.dg/cpp/inc" } */ + +#include <pr20356-aux.h> + +#ifndef PR20356_H +# error PR20356_H not defined +#endif +#ifndef INC_PR20356_H +# error INC_PR20356_H not defined +#endif + +int i; |