1 /* Functional tests for the function hotpatching feature. */
4 /* { dg-options "-O3 -mzarch -mhotpatch --save-temps" } */
8 __attribute__ ((hotpatch(1)))
11 printf("hello, world!\n");
19 /* Check number of occurences of certain instructions. */
20 /* { dg-final { scan-assembler-times "nopr\t%r7" 1 } } */
21 /* { dg-final { scan-assembler-times "nop\t0" 1 } } */