Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/macro2.c

raw
1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
2
3 /* { dg-do preprocess } */
4
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. */
8
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>. */