Files
netbsd/regress/usr.bin/rtld/testlib/construct.cc
2013-04-06 16:48:33 +02:00

26 lines
326 B
C++

// $NetBSD: construct.cc,v 1.2 2003/09/03 20:53:16 drochner Exp $
// check constructor / destructor calls
#include <iostream>
using namespace std;
class mist {
public:
mist(void);
~mist();
};
mist::mist(void)
{
cout << "constructor" << endl;
}
mist::~mist()
{
cout << "destructor" << endl;
}
static mist construct;