Sign in
gnu
/
gcc
/
f00b5710a30f22efc3171c393e56aeb335c3cd39
/
.
/
gcc
/
testsuite
/
gcc.target
/
riscv
/
interrupt-1.c
blob: 666b29a49bb8cd8989c1009ce81559afc118c95b [
file
] [
log
] [
blame
]
/* Verify the return instruction is mret. */
/* { dg-do compile } */
/* { dg-options "-O" } */
void
__attribute__
((
interrupt
))
foo
(
void
)
{
}
/* { dg-final { scan-assembler "mret" } } */