blob: f827e44934a18e7296545fcc6a9a9a1a64ca7e8a [file] [log] [blame]
/* { dg-do run } */
/* APPLE LOCAL testsuite nested functions */
/* { dg-options "-pg -fnested-functions" } */
/* { dg-options "-pg -static" { target hppa*-*-hpux* } } */
/* { dg-require-profiling "-pg" } */
extern void abort(void);
void foo(int i)
{
void bar(void)
{
if (i != 2)
abort ();
}
bar();
}
int main(void)
{
foo (2);
return 0;
}