OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [epiphany/] [interrupt.c] - Rev 691

Compare with Previous | Blame | View Log

/* { dg-options "-g" } */
 
void __attribute__((interrupt("dma0")))
dma0_handler (void)
{
}
 
void __attribute__((interrupt("Vss")))
g (void)
{ /* { dg-warning "is not \"reset\"" } */
}
 
void __attribute__((interrupt(42)))
h (void)
{ /* { dg-warning "is not a string constant" } */
}
 
/* { dg-final { scan-assembler-times "b\[ \t\]*_dma0_handler" 1 } } */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.