ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/h8300/pragma-isr2.c

22 lines
277 B
C

/* Check whether rte is generated only for an ISR. */
/* { dg-do compile { target h8300-*-* } } */
/* { dg-options "-O" } */
/* { dg-final { scan-assembler-times "rte" 1 } } */
#pragma interrupt
void
isr (void)
{
}
void
delay (int a)
{
}
int
main (void)
{
return 0;
}