diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/pr30805.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/pr30805.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/pr30805.c b/gcc/testsuite/gcc.dg/cpp/pr30805.c new file mode 100644 index 000000000..bdfce45e3 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/pr30805.c @@ -0,0 +1,6 @@ +/* PR preprocessor/30805 - ICE while token pasting. */ +/* { dg-do preprocess } */ +/* { dg-options "-std=gnu89" } */ + +#define A(x,...) x##,##__VA_ARGS__ +A(1) |