c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / template / ptrmem32.C
blobedf200313eabb8327aeac1e251aa919f42425624
1 // PR c++/85739
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>);
9 bool bb = (B<&l::k>() != b<&l::k>());