From-SVN: r18636
This commit is contained in:
Jason Merrill 1998-03-16 18:56:43 -05:00
parent 6591521aca
commit 91885faad2
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ struct C : public A
struct D : public B, public C
{
virtual int g() {
int D::*pmd = &C::comm;
int D::*pmd = (int C::*)&C::comm;
return (this->*pmd) == 42;
}
D() : B(41), C(42) { }

View File

@ -2,7 +2,7 @@
// excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe**-*
// prms-id: 11667
extern "C" printf(const char *,...);
extern "C" int printf(const char *,...);
template < class T >
class LIST {