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