// PR c++/85883 // { dg-do compile { target c++17 } } template struct Bar { Bar(T1, T2) { } }; int main () { auto x = Bar(1, 2); auto y = new Bar(3, 4); }