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.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [mi3.c] - Rev 645

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

/* Another test case for over-eager multiple include optimization.
   This one distilled from glibc's setlocale.c and categories.def.  */
/* { dg-do compile } */
 
#define X a
#include "mi3.def"
#undef X
 
#define X b
#include "mi3.def"
#undef X
 
#include "mi3.h"
#include "mi3.h"  /* The second include declares variable c.  */
 
int
main(void)
{
  return a + b + c;
}
 

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

powered by: WebSVN 2.1.0

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