aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/msp430/isr-push-pop-isr-430.c
blob: a2bf8433ebd6859a7de21c874ca4dd1237fdf923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "-mcpu=msp430x*" "-mlarge" } { "" } } */
/* { dg-options "-mcpu=msp430" } */
/* { dg-final { scan-assembler "PUSH\tR11" } } */
/* { dg-final { scan-assembler-not "PUSH\tR10" } } */

void __attribute__((noinline)) callee (void);

void __attribute__((interrupt))
isr (void)
{
  callee();
}