1 /* Check whether rte is generated for two ISRs. */ 2 /* { dg-do compile } */ 3 /* { dg-final { scan-assembler-times "rte" 2 } } */ 4 5 extern void foo (void); 6 7 #pragma interrupt 8 void isr1(void)9isr1 (void) 10 { 11 foo (); 12 } 13 14 #pragma interrupt 15 void isr2(void)16isr2 (void) 17 { 18 foo (); 19 } 20