1 /* { dg-do compile { target sh-*-* sh[1234ble]*-*-* } } */
2 /* { dg-options "-O" } */
3 /* Check that trapa / interrput_handler attributes can paired in
5 void h0() __attribute__ ((trap_exit (4))) __attribute__ ((interrupt_handler
));
6 void h1() __attribute__ ((interrupt_handler
)) __attribute__ ((trap_exit (5)));
13 /* { dg-final { scan-assembler "trapa\[ \t\]\[ \t\]*#4"} } */
14 /* { dg-final { scan-assembler-times "trapa" 1} } */