ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/arc/interrupt-3.c

15 lines
323 B
C

void __attribute__ ((interrupt))
handler0 (void)
{ /* { dg-error "wrong number of arguments specified" } */
}
void __attribute__ ((interrupt("you load too")))
handler1 (void)
{ /* { dg-warning "is not \"ilink" } */
}
void __attribute__ ((interrupt(42)))
hander2 (void)
{ /* { dg-warning "is not a string constant" } */
}