aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/s390/hotpatch-compile-12.c
blob: d91e8feb15bc2b61f86b067cf0a0acb2efe48b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Functional tests for the function hotpatching feature.  */

/* { dg-do compile } */
/* { dg-options "-O3 -mzarch" } */

__attribute__((hotpatch(0,a)))
int main (void)
{
  return 0;
}

/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */