☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
partial-specialization9.C
☽
☼
gcc/testsuite/g++.dg/template/partial-specialization9.C
code
plain
raw
1
// PR c++/77435
2
3
template<int, class T, T> struct S;
4
template<class T, T A> struct S<0, T, A> {};
5
int i;
6
S<0, int*, &i> r; // OK
7
S<0, int&, i> s; // error: aggregate 'S<0, int&, i> s' has incomplete type