Debian Codegraph @

gcc/testsuite/g++.dg/other/cxa-atexit1.C

raw
1 // { dg-do compile }
2 // { dg-require-effective-target cxa_atexit }
3 // { dg-options "-O2 -fuse-cxa-atexit" }
4
5 # 1 "cxa-atexit1.C"
6 struct A
7 {
8 struct B
9 {
10 B ();
11 ~B ();
12 };
13 };
14 static A::B b;
15 # 1 "cxa-atexit1.h" 1
16 #pragma interface
17 template <class T> struct C
18 {
19 ~C (void);
20 };
21 struct D : public C<bool>
22 {
23 D (void) : C<bool> () { }
24 };
25 # 55 "cxa-atexit1.C" 2
26
27 // { dg-final { scan-assembler-not ".gnu.linkonce.t.__tcf_" } }