Rebase.
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / macro2.c
blob2265a2b4cb07f7f1469f708f91de99a1f427e18d
1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
5 /* Tests the argument context get set at the lower level if we drop
6 contexts whilst parsing arguments. This would enter an infinite
7 loop in is_macro_disabled previously. */
9 #define A Something
10 #define B C
11 #define C K(
12 #define K(S) S
13 #define T B A )
14 T /* Expands to <Something>. */