Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/other/cxa-atexit1.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
rev | line source |
---|---|
111 | 1 // { dg-do compile } |
2 // { dg-options "-O2 -fuse-cxa-atexit" } | |
3 | |
4 # 1 "cxa-atexit1.C" | |
5 struct A | |
6 { | |
7 struct B | |
8 { | |
9 B (); | |
10 ~B (); | |
11 }; | |
12 }; | |
13 static A::B b; | |
14 # 1 "cxa-atexit1.h" 1 | |
15 #pragma interface | |
16 template <class T> struct C | |
17 { | |
18 ~C (void); | |
19 }; | |
20 struct D : public C<bool> | |
21 { | |
22 D (void) : C<bool> () { } | |
23 }; | |
24 # 55 "cxa-atexit1.C" 2 | |
25 | |
26 // { dg-final { scan-assembler-not ".gnu.linkonce.t.__tcf_" } } |