diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/paste13.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/paste13.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/paste13.c b/gcc/testsuite/gcc.dg/cpp/paste13.c new file mode 100644 index 000000000..62c72d449 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/paste13.c @@ -0,0 +1,9 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + +/* { dg-do preprocess } */ + +/* This used to be recognized as a comment when lexing after pasting + spellings. Neil Booth, 9 Oct 2002. */ + +#define a /##/= +a /* { dg-error "valid preprocessing tok" } */ |