blob: 6578f4fae7e9956f503c0ab03ba7921b37b4f18c (
plain)
1
2
3
4
5
6
7
8
9
10
|
// PR c++/17042
// { dg-do assemble }
// { dg-options "-fuse-cxa-atexit" }
struct A
{ A(); ~A(); };
A a;
extern "C" { void* __dso_handle __attribute__ ((__weak__)); }
void f()
{ __dso_handle = 0; }
|