aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/riscv/interrupt-umode.c
blob: 042abf02ad292ee44d68c5133df58ff251ccc2a9 (plain)
1
2
3
4
5
6
7
8
/* Verify the return instruction is mret.  */
/* { dg-do compile } */
/* { dg-options "" } */
void __attribute__ ((interrupt ("user")))
foo (void)
{
}
/* { dg-final { scan-assembler {\muret} } } */