From: Alexandre Oliva Date: Fri, 18 Sep 1998 18:33:17 +0000 (+0000) Subject: nested2.C: different virtual base classes that happen to have the same base name... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=735955227eeca4e60dad78f414b60e627e8cd207;p=gcc.git nested2.C: different virtual base classes that happen to have the same base name... * g++.old-deja/g++.other/nested2.C: different virtual base classes that happen to have the same base name, but in different scopes, are incorrectly rejected From-SVN: r22470 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 07ebd8f7e07..ae4bab77335 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +1998-09-18 Alexandre Oliva + + * g++.old-deja/g++.other/nested2.C: different virtual base classes + that happen to have the same base name, but in different scopes, + are incorrectly rejected + 1998-09-16 Richard Henderson * g++.old-deja/g++.brendan/array1.C: Size array via arithmetic based diff --git a/gcc/testsuite/g++.old-deja/g++.other/nested2.C b/gcc/testsuite/g++.old-deja/g++.other/nested2.C new file mode 100644 index 00000000000..027a321fcb4 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/nested2.C @@ -0,0 +1,12 @@ +// Build don't link: +// by Bert Bril + +struct M1 { + struct I {}; +}; + +struct M2 { + struct I {}; + struct J : virtual public M2::I, + virtual public M1::I {}; // XFAIL *-*-* +};