repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
other
/
cxa-atexit1.C
blob
a51f3340142673add9647fcd2ac61a10a9a18ed4
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_" } }