2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / hotpatch-compile-12.c
blob9b5fbd3f92778317427858862bb5caa595818208
1 /* Functional tests for the function hotpatching feature. */
3 /* { dg-do compile } */
4 /* { dg-options "-O3 -mzarch" } */
6 int a;
8 __attribute__((hotpatch(0,a)))
9 int main (void)
10 { /* { dg-error "attribute is not a comma separated pair of non-negative integer constants or too large" } */
11 return 0;