1/* Functional tests for the function hotpatching feature.  */
2
3/* { dg-do compile } */
4/* { dg-options "-O3 -mzarch" } */
5
6int a;
7
8__attribute__((hotpatch(0,a)))
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