Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction56.C
blob: 6cf54b31e2dc64b09f3d47e57e3cac54d08f3e03 [
file
] [
log
] [
blame
]
// PR c++/85883
// { dg-do compile { target c++17 } }
template
<
typename
T1
,
typename
T2
>
struct
Bar
{
Bar
(
T1
,
T2
)
{
}
};
int
main
()
{
auto
x
=
Bar
(
1
,
2
);
auto
y
=
new
Bar
(
3
,
4
);
}