gcc/testsuite/gcc.target/bpf/nop-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-std=gnu99 --patchable-function-entry=2,1 -masm=normal" } */ |
| 3 | |
| 4 | /* The purpose of this test is to make sure the right instruction is |
| 5 | generated for NOPs. See bpf.md for a description on why this is |
| 6 | important. */ |
| 7 | |
| 8 | int |
| 9 | foo () |
| 10 | { |
| 11 | return 0; |
| 12 | } |
| 13 | |
| 14 | /* { dg-final { scan-assembler "foo:\n\t*ja\t0" } } */ |