1 /* Functional tests for the function hotpatching feature. */
4 /* { dg-options "-O3 -mzarch -mhotpatch" } */
10 int nested1(void) /* { dg-warning "hotpatching is not compatible with nested functions" } */
13 __attribute__ ((hotpatch
))
14 int nested2(void) /* { dg-warning "hotpatching is not compatible with nested functions" } */
17 return nested1() - nested2();