2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / hotpatch-20.c
blob222ae5a60530c5d632640150cdb4537eedb5e46b
1 /* Functional tests for the function hotpatching feature. */
3 /* { dg-do compile } */
4 /* { dg-options "-mzarch" } */
6 #include <stdio.h>
8 __attribute__ ((hotpatch(1,2)))
9 __attribute__ ((always_inline))
10 static inline void hp2(void)
12 printf("hello, world!\n");
15 void hp1(void)
17 hp2();