rt_gccstream/gcc/testsuite/gcc.target/m68k/interrupt_thread-3.c

8 lines
258 B
C

/* { dg-do compile } */
/* { dg-options "-mcpu=cpu32" } */
/* Check that interrupt_thread is rejected on CPUs other than
fido. */
extern void foo (void) __attribute__((interrupt_thread)); /* { dg-error "interrupt_thread is available only on fido" } */