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

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

int main (void)
{
  return 0;
}

/* { dg-excess-errors "argument to '-mhotpatch=' is too large .max. 1000000." } */