aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/m68k/interrupt_thread-3.c
blob: cd2531eb5d777d02587b25c152cb018a7c3e62c0 (plain)
1
2
3
4
5
6
7
/* { 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 "error: interrupt_thread is available only on fido" } */