1 /* { dg-options "-O0 -g" } */
2
3 typedef void (*isr_routine)(void);
4 isr_routine will_trig_exception;
5
6 #if defined (__ARCHS__) || defined (__ARCEM__)
7 void __attribute__ ((interrupt("ilink")))
8 #else
9 void __attribute__ ((interrupt("ilink1")))
10 #endif
11 isr_template(void)
12 {
13 will_trig_exception();
14 }
15
16 /* { dg-final { scan-assembler-times "\\\.cfi_offset 0" 1 } } */