Fix g++.dg/init/dso_handle2.C on Solaris
[official-gcc.git] / gcc / testsuite / g++.dg / init / dso_handle2.C
blobb219dc0261121195e5d131bb9cc855af211e6cba
1 // PR c++/58846
2 // { dg-options "-fuse-cxa-atexit" }
4 extern "C" { char* __dso_handle; }
6 struct A
8   ~A();
9 };
11 A a;  // { dg-error "conflicting declaration" }