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
10 #ifdef __COUNTER__ /* Macro not expanded. */
13 #if __COUNTER__ == 0 /* { dg-error "__COUNTER__ expanded inside directive with -fdirectives-only" } */