1/* Copyright 2007 Free Software Foundation, Inc. 2 Contributed by Ollie Wild <aaw@google.com>. */ 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 10int zero = __COUNTER__; 11