1 /* { dg-do compile } */
2 /* { dg-require-effective-target mfentry } */
3 /* { dg-options "-pg -mfentry"  } */
4 /* { dg-final { scan-assembler "section.*__entry_loc" } } */
5 /* { dg-final { scan-assembler "0x0f, 0x1f, 0x44, 0x00, 0x00" } } */
6 /* { dg-final { scan-assembler-not "__fentry__" } } */
7 
8 __attribute__((fentry_name("nop"), fentry_section("__entry_loc")))
foo(void)9 void foo(void)
10 {
11 }
12