NetBSD/regress/usr.bin/rtld/testlib/virt.cc
2000-12-08 19:21:28 +00:00

16 lines
255 B
C++

// $NetBSD: virt.cc,v 1.1 2000/12/08 19:21:28 drochner Exp $
// g++ generates a reference to "__pure_virtual" with this code
class mist {
public:
virtual void vv(void) = 0;
};
class mast: public mist {
public:
void vv(void) {};
};
static mast virt;