blob: 49f3500b180a221c7ee8c8527aa7590bef0d4bc1 [file] [log] [blame]
// PR c++/77435
template<int, class T, T> struct S;
template<class T, T A> struct S<0, T, A> {};
int i;
S<0, int*, &i> r; // OK
S<0, int&, i> s; // error: aggregate 'S<0, int&, i> s' has incomplete type