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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [nested-func-4.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-pg" } */
3
/* { dg-options "-pg -static" { target hppa*-*-hpux* } } */
4
/* { dg-require-profiling "-pg" } */
5
 
6
extern void abort(void);
7
 
8
void foo(int i)
9
{
10
  void bar(void)
11
  {
12
    if (i != 2)
13
      abort ();
14
  }
15
 
16
  bar();
17
}
18
 
19
int main(void)
20
{
21
  foo (2);
22
  return 0;
23
}
24
 
25
/* { dg-final { cleanup-profile-file } } */

powered by: WebSVN 2.1.0

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