Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / riscv / interrupt-conflict-mode.c
blob81ebf5fba67d5efb21eaba7e92076c8056ec61ff
1 /* Verify proper errors are generated for conflicted interrupt type. */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
4 void __attribute__ ((interrupt ("user")))
5 foo(void);
7 void __attribute__ ((interrupt ("machine")))
8 foo (void)
9 { /* { dg-error "function cannot have different interrupt type" } */