URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [vtable3.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// GROUPS passed vtable
// vtable file
// From: Pete Bevin <pete@deng.icl.co.uk>
// Date: Mon, 28 Nov 1994 19:57:53 +0000 (GMT)
// Subject: g++-2.6.2: Virtual inheritance causes incorrect padding
// Message-ID: <Pine.SOL.3.91.941128194453.7510A-100000@gabriel>
extern "C" int printf (const char *, ...);
struct A {
};
struct B : virtual A {
public:
int b;
};
int main()
{
B blist[10];
printf ("PASS\n");
}
Go to most recent revision | Compare with Previous | Blame | View Log