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);
}