gcc/testsuite:
[official-gcc.git] / gcc / testsuite / gcc.target / epiphany / interrupt-2.c
blob4c0de6c5d6cba68d37ed7e528e4104c324b121d2
1 /* { dg-options "-g" } */
3 void __attribute__((interrupt))
4 universal_handler (void)
8 void __attribute__((interrupt("dma0","Vss","dma1")))
9 g (void)
10 { /* { dg-warning "is not \"reset\"" } */
13 void __attribute__((interrupt("dma0","dma1","timer1","reset"),
14 forwarder_section("test")))
15 misc_handler (void)
19 void __attribute__((interrupt(dma0,42)))
20 h (void)
21 { /* { dg-warning "is not a string constant" } */
24 /* { dg-final { scan-assembler-times "b\[ \t\]*_misc_handler" 4 } } */