aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/m68k/interrupt_thread-3.c
blob: be83edb5fafa84972e4f6f4edb937ffb01cf0d25 (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 "interrupt_thread is available only on fido" } */