aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/msp430/isr-push-pop-isr-430x.c
blob: 2d65186bdf96fd2d152499ff037424ee86563319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "-mcpu=msp430" } { "" } } */
/* { dg-final { scan-assembler "PUSHM.*#5" } } */
/* { dg-final { scan-assembler-not "PUSHM.*#12" } } */

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

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