mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-16 07:24:47 +08:00
fix
From-SVN: r18636
This commit is contained in:
parent
6591521aca
commit
91885faad2
@ -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) { }
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user