Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
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
();
}