Logo Search packages:      
Sourcecode: glibc version File versions

bug-atexit3-lib.cc

#include <unistd.h>

struct statclass
{
  statclass()
  {
    write (1, "statclass\n", 10);
  }
  ~statclass()
  {
    write (1, "~statclass\n", 11);
  }
};

struct extclass
{
  ~extclass()
  {
    static statclass var;
  }
};

extclass globvar;

Generated by  Doxygen 1.6.0   Back to index