summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/paste14.c
blob: ec243c2326f8b9b5f06096d9e71dd013086d6392 (plain)
1
2
3
4
5
6
7
/* PR preprocessor/28709 */
/* { dg-do preprocess } */

#define foo - ## >>
foo		/* { dg-error "pasting \"-\" and \">>\"" } */
#define bar = ## ==
bar		/* { dg-error "pasting \"=\" and \"==\"" } */