1 /* Copyright (C) 2001 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
5 /* Source: Neil Booth, 23 Sep 2001.
7 A tricky, pathological corner case we used to get wrong. Expansion
8 should go as follows. The asterisk indicates the token has "blue
9 paint" can no longer be macro expanded. We used to lose that
10 information when parsing arguments and dropping to the lexer to get
18 If we try and expand the final foo, we get an "unterminated
19 argument list invoking macro <func>" error. If we do the right
20 thing and leave it as is, no diagnostics are emitted. */