2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / hotpatch-compile-11.c
blob36c0e225e4d00dd7bc84a32e94b3cf7a20a6b4cf
1 /* Functional tests for the function hotpatching feature. */
3 /* { dg-do compile } */
4 /* { dg-options "-O3 -mzarch" } */
6 int a;
8 __attribute__((hotpatch(a,0)))
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;