1 // PR c++/85739
2 
3 struct l { int k; };
4 template <int l::*> class b { };
5 template <const int l::*> class B { typedef int e; };
6 template <int l::*i, const int l::*n>
7 bool operator!=(B<n>, b<i>);
8 
9 bool bb = (B<&l::k>() != b<&l::k>());
10 
11