diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/empty1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/empty1.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/empty1.C b/gcc/testsuite/g++.old-deja/g++.other/empty1.C index 1210327ee17..a876ce84a9f 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/empty1.C +++ b/gcc/testsuite/g++.old-deja/g++.other/empty1.C @@ -1,4 +1,10 @@ // Origin: Mark Mitchell <mark@codesourcery.com> +// This test case checks that the return value optimization works for +// empty classes. + +// xfailed because empty classes clobbering what they overlay as the +// backend treats them as single byte objects. See bug 4222 +// execution test - XFAIL *-*-* extern "C" void abort(); extern "C" int printf (const char *, ...); |