repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
ptrmem32.C
blob
edf200313eabb8327aeac1e251aa919f42425624
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