☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction57.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/class-deduction57.C
code
plain
raw
1
// PR c++/85883
2
// { dg-do compile { target c++17 } }
3
4
template <typename T1, typename T2, typename T3>
5
struct Bar
6
{
7
Bar(T1, T2, T3) { }
8
};
9
10
int
11
main ()
12
{
13
auto x = Bar(1, 2, 3);
14
auto y = new Bar(3, 4, 5);
15
}