Debian Codegraph @

gcc/testsuite/g++.dg/template/partial-specialization9.C

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