OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [macro11.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* Copyright (C) 2001 Free Software Foundation, Inc.  */
2
 
3
/* { dg-do preprocess } */
4
 
5
/* Source: Neil Booth, 2 Oct 2001.
6
 
7
   Tests that we clear the disabled flag that is set by the
8
   macro-defined-to-itself optimization (the optimization might not be
9
   worth it).  */
10
 
11
#define foo foo
12
#undef foo
13
#define foo 1
14
#if !foo
15
#error foo still disabled! 
16
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.