1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -mfunction-return=thunk-inline" } */ 3 4 void foo(void)5foo (void) 6 { 7 } 8 9 /* { dg-final { scan-assembler {jmp[ \t]*\.?LIND} } } */ 10 /* { dg-final { scan-assembler {call[ \t]*\.?LIND} } } */ 11 /* { dg-final { scan-assembler {\tpause} } } */ 12 /* { dg-final { scan-assembler {\tlfence} } } */ 13 /* { dg-final { scan-assembler-not "jmp\[ \t\]*_?__x86_return_thunk" } } */ 14