[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[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" }