Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/extern_template-3.C

raw
1 // PR c++/37256
2 // { dg-options "-O" }
3
4 template <typename T_>
5 struct B
6 {
7 T_ f();
8 };
9
10 extern template class B<int>;
11
12 void f()
13 {
14 B<int> t;
15 t.f();
16 }