diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/cmdlne-dI-C.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/cmdlne-dI-C.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/cmdlne-dI-C.c b/gcc/testsuite/gcc.dg/cpp/cmdlne-dI-C.c new file mode 100644 index 000000000..6b4bfee22 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/cmdlne-dI-C.c @@ -0,0 +1,11 @@ +/* Copyright (C) 2005 Free Software Foundation, Inc. */ +/* PR 13726 */ + +/* { dg-do preprocess } */ +/* { dg-options "-dI -C" } */ + +#include "cmdlne-dI-C.h" /* #include comment */ +/* comment 2 */ + +/* { dg-final { scan-file cmdlne-dI-C.i "#include c+omment" } } */ +/* { dg-final { scan-file cmdlne-dI-C.i "header file c+omment" } } */ |