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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20080721-1.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
void foo(void);
2
void bar(void);
3
 
4
int test(int b)
5
{
6
  void *p, **q;
7
  if (b)
8
    p = (void *)foo;
9
  else
10
    p = (void *)bar;
11
  q = (void **)p;
12
  if (*q == (void *)0)
13
    return 1;
14
  return 0;
15
}

powered by: WebSVN 2.1.0

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