view gcc/testsuite/gcc.dg/cpp/counter-3.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* Copyright 2007 Free Software Foundation, Inc.
   Contributed by Ollie Wild <aaw@google.com>.  */

/* { dg-do preprocess } */
/* { dg-options "-fdirectives-only -fpreprocessed" } */

/* Tests __COUNTER__ macro expansion is enabled outside directives with
   -fdirectives-only. */

int zero = __COUNTER__;