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