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
This commit is contained in:
parent
6f43347108
commit
735955227e
|
@ -1,3 +1,9 @@
|
|||
1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* 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 <rth@cygnus.com>
|
||||
|
||||
* g++.old-deja/g++.brendan/array1.C: Size array via arithmetic based
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
// Build don't link:
|
||||
// by Bert Bril <bert@dgb.nl>
|
||||
|
||||
struct M1 {
|
||||
struct I {};
|
||||
};
|
||||
|
||||
struct M2 {
|
||||
struct I {};
|
||||
struct J : virtual public M2::I,
|
||||
virtual public M1::I {}; // XFAIL *-*-*
|
||||
};
|
Loading…
Reference in New Issue