Rebase.
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / hotpatch-11.c
blob491677342530e7f4f7ce3316a46433ef576164ad
1 /* Functional tests for the function hotpatching feature. */
3 /* { dg-do run } */
4 /* { dg-options "-O3 -mzarch -mhotpatch -mno-hotpatch --save-temps" } */
6 #include <stdio.h>
8 void hp1(void)
10 printf("hello, world!\n");
13 int main (void)
15 return 0;
18 /* Check number of occurences of certain instructions. */
19 /* { dg-final { scan-assembler-not "nopr\t%r7" } } */
20 /* { dg-final { scan-assembler-not "nop\t0" } } */