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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr31628.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-O2 -fPIC" } */
3
/* { dg-require-effective-target ilp32 } */
4
/* { dg-require-effective-target fpic } */
5
 
6
typedef int tt, *lptt;
7
 
8
int __attribute__((__stdcall__)) bar(lptt);
9
 
10
int __attribute__((__stdcall__)) bar(tt *x)
11
{
12
  return 0;
13
}
14
 
15
int
16
foo (void)
17
{
18
  return bar (0);
19
}
20
 
21
int
22
main()
23
{
24
  return foo ();
25
}

powered by: WebSVN 2.1.0

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