aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/epiphany/interrupt.c
blob: a44c79e432e69fd6b71256c3880265dc22b97145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
void __attribute__((interrupt("dma0")))
f (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" } */
}