Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
ptrmem32.C
blob: edf200313eabb8327aeac1e251aa919f42425624 [
file
] [
log
] [
blame
]
// PR c++/85739
struct
l
{
int
k
;
};
template
<
int
l
::*>
class
b
{
};
template
<
const
int
l
::*>
class
B
{
typedef
int
e
;
};
template
<
int
l
::*
i
,
const
int
l
::*
n
>
bool
operator
!=(
B
<n>
,
b
<i>
);
bool
bb
=
(
B
<&
l
::
k
>()
!=
b
<&
l
::
k
>());