summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/pr18096-1.c
blob: 74612f39378b7776a4a7e11a485db02e63c98fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR middle-end/18096  */
/* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
/* { dg-options "-O2" } */

void f(char*);

void mkcatdefs(char *fname) /* { dg-error "too large" "stack frame too large" } */
{
  char line [2147483647];
  f(line);
}