OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [trad/] [mi3.c] - Blame information for rev 378

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* Another test case for over-eager multiple include optimization.
2
   This one distilled from glibc's setlocale.c and categories.def.  */
3
/* { dg-do compile } */
4
 
5
#define X a
6
#include "mi3.def"
7
#undef X
8
 
9
#define X b
10
#include "mi3.def"
11
#undef X
12
 
13
#include "mi3.h"
14
#include "mi3.h"  /* The second include declares variable c.  */
15
 
16
int
17
main(void)
18
{
19
  return a + b + c;
20
}

powered by: WebSVN 2.1.0

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