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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr47426-2.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
typedef void tfoo (int *);
2
tfoo *getfoo (void);
3
 
4
void
5
bar (int *i)
6
{
7
  (*i)--;
8
}
9
 
10
int
11
main ()
12
{
13
  int i = 1;
14
  getfoo ()(&i);
15
  if (i)
16
    __builtin_abort ();
17
  return 0;
18
}
19
 

powered by: WebSVN 2.1.0

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