2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / arc / interrupt-3.c
blobb0cad88de95ea5b801f4b478bae50fc533223d4e
1 void __attribute__ ((interrupt))
2 handler0 (void)
3 { /* { dg-error "wrong number of arguments specified" } */
6 void __attribute__ ((interrupt("you load too")))
7 handler1 (void)
8 { /* { dg-warning "is not \"ilink" } */
11 void __attribute__ ((interrupt(42)))
12 hander2 (void)
13 { /* { dg-warning "is not a string constant" } */