Debian Codegraph @

gcc/testsuite/c-c++-common/cpp/pr97471.c

raw
1 /* PR preprocessor/97471 */
2 /* { dg-do compile } */
3
4 /* ICE with non-fn use of fn-like macro at EOF */
5
6 #define a() b
7
8 /* { dg-error "expected" "" { target c } .+2 } */
9 /* { dg-error "does not name" "" { target c++ } .+1 } */
10 a