aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction97.C
blob: 32818681d8f20daa06e03612881e2fd52158b228 (plain)
1
2
3
4
5
6
// PR c++/89062
// { dg-do compile { target c++17 } }

template<class T> struct Foo { Foo(T); };

Foo<int> x(Foo{1});