☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
init2.C
☽
☼
gcc/testsuite/g++.dg/template/init2.C
code
plain
raw
1
// PR c++/9820
2
3
template <typename T> struct X {
4
template<typename> static int test(...);
5
template<typename> static int test(int *);
6
7
static const int i = sizeof(X<T>::template test<int>(0));
8
};
9
10
template class X<int>;