blob: bc26592e8fc69144f4afaeefb843478d363fd6c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* { dg-skip-if "The array is too big" { "mxp-*-*" } { "*" } { "" } } */
#if __SCHAR_MAX__ == 127 && __INT_MAX__ >= 2147483647
struct S { char buf[72*1024*1024]; };
#else
struct S { char buf[64]; };
#endif
extern void bar (struct S);
struct S s;
int
foo (void)
{
bar (s);
return 0;
}
|