Sign in
gnu
/
gcc
/
7ff47281ce4f3699185b06a3430968eac2a5b0c6
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
spaceship-rewrite1.C
blob: bb60302622f7262de2d8600aae86090a48c55353 [
file
] [
log
] [
blame
]
// This should continue to work.
// { dg-do compile { target c++2a } }
template
<
class
T
>
struct
A
{
template
<
class
U
>
bool
operator
==(
const
A
<
U
>&);
};
int
main
()
{
A
<int>
a1
;
A
<void>
a2
;
return
a1
==
a2
;
}