summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wframe-larger-than-3.c
blob: ae5b2f497c79a359f00c9ee7588500ed9acd5e55 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR 90983/manual documents `-Wno-stack-usage` flag, but it is unrecognized
   { dg-do compile }
   { dg-options "-Wall -Wframe-larger-than=123 -Wno-frame-larger-than" } */

void f (void*);

void g (void)
{
  char a [1234];
  f (a);
}