Debian Codegraph @

gcc/testsuite/c-c++-common/cpp/counter-3.c

raw
1 /* Copyright 2007 Free Software Foundation, Inc.
2 Contributed by Ollie Wild <[email protected]>. */
3
4 /* { dg-do preprocess } */
5 /* { dg-options "-fdirectives-only -fpreprocessed" } */
6
7 /* Tests __COUNTER__ macro expansion is enabled outside directives with
8 -fdirectives-only. */
9
10 int zero = __COUNTER__;