☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec13.C
☽
☼
gcc/testsuite/g++.dg/template/spec13.C
code
plain
raw
1
// { dg-options "-w" }
2
3
template <typename T>
4
struct S {
5
int i;
6
template <typename U> void f(U) {}
7
};
8
9
template<>
10
template <typename U>
11
void S<int>::f(U) { i; }
12
13
void f() {
14
S<int> s;
15
s.f<int>(3);
16
}