blob: 74fd29f66dc4517e809ad8e27b42ce2bf627a5ba [file] [log] [blame]
// PR c++/85883
// { dg-do compile { target c++17 } }
template <typename T>
struct Bar
{
Bar(T) { }
};
int
main ()
{
auto x = Bar(1);
auto y = new Bar(3);
}