Implement C _FloatN, _FloatNx types.
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / counter-2.c
blob7d6578d9ce378a7e71bb27664ac0e1b55cfdd8d3
1 /* Copyright 2007 Free Software Foundation, Inc.
2 Contributed by Ollie Wild <aaw@google.com>. */
4 /* { dg-do preprocess } */
5 /* { dg-options -fdirectives-only } */
7 /* Tests __COUNTER__ macro expansion is disabled inside directives with
8 -fdirectives-only. */
10 #ifdef __COUNTER__ /* Macro not expanded. */
11 #endif
13 #if __COUNTER__ == 0 /* { dg-error "__COUNTER__ expanded inside directive with -fdirectives-only" } */
14 #endif