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));
foo(int i)7 void foo(int i)
8 {
9   int bar(void)
10   {
11     return i;
12   }
13   ex(bar);
14 }
15