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