1 /* Functional tests for the function hotpatching feature. */ 2 3 /* { dg-do compile } */ 4 /* { dg-options "-O3 -mzarch" } */ 5 6 int a; 7 8 __attribute__((hotpatch(0,a))) main(void)9int main (void) 10 { /* { dg-error "attribute is not a comma separated pair of non-negative integer constants or too large" } */ 11 return 0; 12 } 13