Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
nontype-class20.C
blob: 4b4d32989ca67f571a83cd7879ce6f95a57211b7 [
file
] [
log
] [
blame
]
// PR c++/90098
// { dg-do compile { target c++20 } }
struct
A
{
int
value
;
// auto operator<=>(const A&) = default;
};
template
<
A
...
Us
>
struct
Z
{};
template
<
A V
,
A
...
Rest
>
struct
Z
<
V
,
Rest
...>
{};