Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
class-deduction-alias6.C
blob: 26a38641ab31a426891d8893b0d22745fbd5a2ae [
file
] [
log
] [
blame
]
// PR c++/93295
// { dg-do compile { target c++20 } }
template
<
typename
T
,
bool
B
=
false
>
struct
Foo
{
Foo
(
T
)
{}
};
template
<
typename
T
>
Foo
(
T
)
->
Foo
<
T
>;
template
<
typename
T
>
using
Bar
=
Foo
<
T
,
true
>;
Bar
b
{
0
};