1 /* Test for resbank attribute. */
2 /* { dg-do compile { target { sh2a } } } */
3 /* { dg-final { scan-assembler "resbank" } } */
4
5 extern void bar(void);
6
7 void foo(void) __attribute__((interrupt_handler, resbank));
8 void foo(void)
9 {
10 bar();
11 }