1 /* { dg-do compile { target h8300-*-* sh-*-* sh[1234ble]*-*-* } } */
2 /* { dg-options "-O" } */
3 /* This test case will check whether rte is generated only for isr.  */
4 #pragma interrupt
isr()5 void isr()
6 {
7 }
delay(int a)8 void delay(int a)
9 {
10 }
main()11 int main()
12 {
13   return 0;
14 }
15 
16 /* { dg-final { scan-assembler-times "rte" 1} } */
17