ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/bpf/nop-1.c

15 lines
329 B
C

/* { dg-do compile } */
/* { dg-options "-std=gnu99 --patchable-function-entry=2,1" } */
/* The purpose of this test is to make sure the right instruction is
generated for NOPs. See bpf.md for a description on why this is
important. */
int
foo ()
{
return 0;
}
/* { dg-final { scan-assembler "foo:\n\t*ja\t0" } } */