This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'. From-SVN: r58137
This commit is contained in:
parent
4cf8475f41
commit
ae52e355c5
|
@ -0,0 +1,21 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-O2 -p" } */
|
||||
|
||||
extern void abort (void);
|
||||
extern void exit (int);
|
||||
|
||||
int foo (void)
|
||||
{
|
||||
static int bar (int x)
|
||||
{
|
||||
return x + 3;
|
||||
}
|
||||
return bar (1) + bar (2);
|
||||
}
|
||||
|
||||
int main (void)
|
||||
{
|
||||
if (foo () != 9)
|
||||
abort ();
|
||||
exit (0);
|
||||
}
|
Loading…
Reference in New Issue