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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pushpop_macro.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
extern void abort ();
2
 
3
#define _ 2
4
#pragma push_macro("_")
5
#undef _
6
#define _ 1
7
#pragma pop_macro("_")
8
 
9
int main ()
10
{
11
  if (_ != 2)
12
    abort ();
13
  return 0;
14
}
15
 

powered by: WebSVN 2.1.0

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