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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20011115-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
extern void exit (int);
2
 
3
static inline int
4
foo (void)
5
{
6
#ifdef __OPTIMIZE__
7
  extern int undefined_reference;
8
  return undefined_reference;
9
#else
10
  return 0;
11
#endif
12
}
13
 
14
static inline int
15
bar (void)
16
{
17
  if (foo == foo)
18
    return 1;
19
  else
20
    return foo ();
21
}
22
 
23
int main (void)
24
{
25
  exit (0);
26
}

powered by: WebSVN 2.1.0

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