1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
5 /* Test operator ## semantics. */
7 #define bad1 ## owt /* { dg-error "cannot" "## at objlike start" } */
8 #define bad2 owt ## /* { dg-error "cannot" "## at objlike end" } */
9 #define bad3(x) ## x /* { dg-error "cannot" "## at funlike start" } */
10 #define bad4(x) x ## /* { dg-error "cannot" "## at funlike end" } */