blob: a5d26faa523bb1afdf4fd0fb3917f418637a4a2f [file] [log] [blame]
/* { dg-do compile { target i?86-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* APPLE LOCAL testsuite nested functions */
/* { dg-options "-std=gnu99 -fnested-functions" } */
int
outer_function (int x, int y)
{
int __attribute__ ((__noinline__, __force_align_arg_pointer__))
nested_function (int x, int y)
{ /* { dg-error "force_align_arg_pointer not supported for nested functions" } */
return (x + y);
}
return (3 + nested_function (x, y));
}