blob: 3ef7a12a1a42d15d3d12169e2f40cbc95dcaf815 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-final { scan-assembler-not "attributes.*critical" } } */
void __attribute__((interrupt,critical))
fn1 (void)
{ /* { dg-warning "critical attribute has no effect on interrupt functions" } */
}
void __attribute__((critical,interrupt))
fn2 (void)
{ /* { dg-warning "critical attribute has no effect on interrupt functions" } */
}