gcc/testsuite:
[official-gcc.git] / gcc / testsuite / gcc.target / epiphany / interrupt.c
blob86fb255613b3e5bfd8a51ea685ddfc08c444029a
1 /* { dg-options "-g" } */
3 void __attribute__((interrupt("dma0")))
4 dma0_handler (void)
8 void __attribute__((interrupt("Vss")))
9 g (void)
10 { /* { dg-warning "is not \"reset\"" } */
13 void __attribute__((interrupt(42)))
14 h (void)
15 { /* { dg-warning "is not a string constant" } */
18 /* { dg-final { scan-assembler-times "b\[ \t\]*_dma0_handler" 1 } } */