☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
init
/
dso_handle2.C
☽
☼
gcc/testsuite/g++.dg/init/dso_handle2.C
code
plain
raw
1
// PR c++/58846
2
// { dg-require-effective-target cxa_atexit }
3
// { dg-options "-fuse-cxa-atexit" }
4
5
extern "C" { char* __dso_handle; }
6
7
struct A
8
{
9
~A();
10
};
11
12
A a; // { dg-error "conflicting declaration" }