Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
nontype-class-defarg1.C
blob: 85e50ff8069be4ac1835f5223176449e689adee4 [
file
] [
log
] [
blame
]
// PR c++/98810
// { dg-do compile { target c++20 } }
template
<auto>
struct
a
{};
template
<
int
i
,
a
<i>
s
=
a
<i>
{}>
using
b
=
a
<s>
;
template
<
int
i
>
constexpr
auto
g
(
const
b
<i>
&)
{
return
true
;
};