diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/other/big-struct.C')
-rw-r--r-- | gcc/testsuite/g++.dg/other/big-struct.C | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/other/big-struct.C b/gcc/testsuite/g++.dg/other/big-struct.C new file mode 100644 index 000000000..dcf230dd6 --- /dev/null +++ b/gcc/testsuite/g++.dg/other/big-struct.C @@ -0,0 +1,11 @@ +// { dg-do compile { target i?86-*-* x86_64-*-* } } +// { dg-require-effective-target ilp32 } + +struct A +{ +}; + +struct B : public A +{ + char b[0x20000000]; +} e; |