diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/ident.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/ident.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/ident.c b/gcc/testsuite/gcc.dg/cpp/ident.c new file mode 100644 index 000000000..5477cbe10 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/ident.c @@ -0,0 +1,7 @@ +/* Test #ident. */ +/* { dg-do compile } */ +/* { dg-options "-Wno-deprecated" } */ /* shut off -pedantic */ + +#ident "this is an ident" + +int dummy(void) { return 12; } |