Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction52.C
blob: 6ea9e8087d64a97dfcad3c1fbe4f33febf605aba [
file
] [
log
] [
blame
]
// PR c++/84768
// { dg-do compile { target c++17 } }
template
<typename>
struct
A
{};
template
<
typename
T
>
struct
B
{
template
<
X Y
>
B
(
A
<
T
>);
// { dg-error "declared" }
};
B b
=
A
<void>
();