Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
spaceship-synth-neg3.C
blob: a4d8b32922fba9e904ddbe5a236a3559f882a088 [
file
] [
log
] [
blame
]
// PR c++/92496
// { dg-do compile { target c++20 } }
template
<
auto
V
>
struct
A
{};
struct
B
{
constexpr
auto
operator
<=>(
const
B
&)
const
=
default
;
// { dg-error "" }
int
value
;
};
A
<
B
{}>
t
;