Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/static13.C

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 () {}