1 /* Functional tests for the function hotpatching feature. */
3 /* { dg-do compile } */
4 /* { dg-options "-O3 -mzarch -mhotpatch=1,2 --save-temps" } */
8 /* { dg-prune-output "always_inline function might not be inlinable" } */
9 __attribute__ ((always_inline
))
12 printf("hello, world!\n");
20 /* Check number of occurences of certain instructions. */
21 /* { dg-final { scan-assembler-times "nopr\t%r7" 1 } } */
22 /* { dg-final { scan-assembler-times "nop\t0" 1 } } */
23 /* { dg-final { scan-assembler-not "brcl\t\t0,0" } } */