| 1 |
/* Functional tests for the function hotpatching feature. */ |
| 2 |
|
| 3 |
/* { dg-do compile } */ |
| 4 |
/* { dg-options "-O3 -mzarch" } */ |
| 5 |
|
| 6 |
__attribute__((hotpatch(0))) |
| 7 |
int main (void) |
| 8 |
{/* { dg-error "wrong number of arguments specified" } */ |
| 9 |
return 0; |
| 10 |
} |