2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / hotpatch-24.c
blob1e475917100a3c3b732e61d299c1ac9487de7d49
1 /* Functional tests for the function hotpatching feature. */
3 /* { dg-do compile } */
4 /* { dg-options "-mzarch -mhotpatch=0,1 -falign-functions=2048" } */
6 #include <stdio.h>
8 void __attribute__ ((aligned(4096))) hp1(void)
10 printf("hello, world!\n");
13 /* Check number of occurences of certain instructions. */
14 /* { dg-final { scan-assembler-not "alignment for hotpatch" } } */