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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [macro11.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* 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.