Sign in
gnu
/
gcc.git
/
ab7c7b46c35ed1be68d4c020a2f20ee96f68b64b
/
.
/
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
);