Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
operator14.C
blob: 6267dbb140a4d2723bb1cbd982471c866e291bfd [
file
] [
log
] [
blame
]
// DR 2007
// We shouldn't instantiate A<void> to lookup operator=, since operator=
// must be a non-static member function.
template
<
typename
T
>
struct
A
{
typename
T
::
error e
;
};
template
<
typename
T
>
struct
B
{
};
B
<
A
<void>
>
b1
,
&
b2
=
(
b1
=
b1
);