blob: 8604e8d50963f17c404818df5dff86c74418a7be [file] [log] [blame]
/* { dg-do compile { target i?86-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* APPLE LOCAL testsuite nested functions */
/* { dg-options "-mstackrealign -fnested-functions" } */
int
outer_function (int x, int y)
{
int __attribute__ ((__noinline__))
nested_function (int x, int y)
{ /* { dg-error "-mstackrealign ignored for nested functions" } */
return (x + y);
}
return (3 + nested_function (x, y));
}