1 /* Exercise -Wframe-larger-than= with a byte-size suffix.
3 { dg-options "-O -Wframe-larger-than=1KB" }
4 { dg-skip-if "exceeds eBPF stack limit" { bpf-*-* } } */
6 extern void f (void*, ...);
8 void frame_size_912 (void)
15 void frame_size_1025 (void)
20 } /* { dg-warning "frame size of \[0-9\]+ bytes is larger than 1024 bytes" } */