| 1 |
/* Testcase to check generation of a SH2A specific instruction for |
| 2 |
'JSR/N @Rm'. */ |
| 3 |
/* { dg-do compile { target { sh2a } } } */ |
| 4 |
/* { dg-options "-O0" } */ |
| 5 |
/* { dg-final { scan-assembler "jsr/n"} } */ |
| 6 |
|
| 7 |
void foo(void) |
| 8 |
{ |
| 9 |
} |
| 10 |
|
| 11 |
void bar() |
| 12 |
{ |
| 13 |
foo(); |
| 14 |
} |