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/] [strify.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
/* Test whether traditional stringify works.  */
2
/* { dg-do run } */
3
 
4
#define foo(a, b) c="a"; d="b";
5
 
6
extern void abort ();
7
extern void exit (int);
8
 
9
int main ()
10
{
11
  char *c, *d;
12
 
13
  foo (p,q);
14
  if (c[0] != 'p' || d[0] != 'q')
15
    abort ();
16
 
17
  exit (0);
18
}

powered by: WebSVN 2.1.0

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