Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction34.C
blob: 26c063a9e729b4d2d7d9b99a938413441640fc49 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
template
<
class
T
>
struct
A
{
template
<
class
U
>
static
constexpr
bool
B
=
U
();
template
<
class
U
,
bool
V
=
B
<
U
>>
A
(
T
,
U
);
};
A a
(
1
,
2
);