Use gcc attribute ifunc in libc_ifunc macro instead of inline assembly due to false...
[glibc.git] / dlfcn / bug-atexit3-lib.cc
blob3d01ea81d2d750cb4f7209d139b849e86f9edb99
1 #include <unistd.h>
3 struct statclass
5 statclass()
7 write (1, "statclass\n", 10);
9 ~statclass()
11 write (1, "~statclass\n", 11);
15 struct extclass
17 ~extclass()
19 static statclass var;
23 extclass globvar;