1 /* Functional tests for the function hotpatching feature. */
4 /* { dg-options "-O3 -mzarch -mhotpatch=1" } */
10 printf("hello, world!\n");
15 printf("hello, world!\n");
18 __attribute__ ((always_inline
))
19 void hp3(void) /* { dg-warning "always_inline function might not be inlinable" } */
21 printf("hello, world!\n");
22 } /* { dg-warning "function 'hp3' with the 'always_inline' attribute is not hotpatchable" } */