Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/epiphany/interrupt-2.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-options "-g" } */ void __attribute__((interrupt)) universal_handler (void) { } void __attribute__((interrupt("dma0","Vss","dma1"))) g (void) { /* { dg-warning "is not \"reset\"" } */ } void __attribute__((interrupt("dma0","dma1","timer1","reset"), forwarder_section("test"))) misc_handler (void) { } void __attribute__((interrupt(dma0,42))) h (void) { /* { dg-warning "is not a string constant" } */ } /* { dg-final { scan-assembler-times "b\[ \t\]*_misc_handler" 4 } } */