Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.target
/
nios2
/
nios2-trap-insn.c
blob: 588a7f38749385a87474cf04de99ca81c42bc94c [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-final { scan-assembler "trap\\t3|trap.n\\t3" } } */
/* Test the nios2 trap instruction */
void
foo
(
void
){
__builtin_trap
();
}