URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [vtbl1.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do link }
// Origin: DJ Delorie <dj@delorie.com>
class X {
public:
int i;
X() { i = 0; }
~X();
virtual int foo() { return i; }
virtual void bar();
};
int main()
{
}