Debian Codegraph @

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

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