mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
6de1f62588
* dlfcn/bug-atexit3.c: New file. * dlfcn/bug-atexit3-lib.cc: New file.
24 lines
246 B
C++
24 lines
246 B
C++
#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;
|