☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
static13.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/static13.C
code
plain
raw
1
// { dg-do link }
2
// Origin: scott snyder <
[email protected]
>
3
4
struct Cleaner
5
{
6
~Cleaner() {}
7
};
8
9
template <class T>
10
void bar ()
11
{
12
static Cleaner cleanup;
13
}
14
15
16
inline
17
void foo() { bar<int>(); }
18
19
int main () {}