OSDN Git Service

* c-decl.c (grokfield): Allow typedefs for anonymous structs and
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / nested-func-5.c
1 /* { dg-do compile } */
2 /* { dg-options "-fexceptions" } */
3 /* PR28516: ICE generating ARM unwind directives for nested functions.  */
4 /* { dg-require-effective-target trampolines } */
5
6 void ex(int (*)(void));
7 void foo(int i)
8 {
9   int bar(void)
10   {
11     return i;
12   }
13   ex(bar);
14 }