2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / class-deduction55.C
blob74fd29f66dc4517e809ad8e27b42ce2bf627a5ba
1 // PR c++/85883
2 // { dg-do compile { target c++17 } }
4 template <typename T>
5 struct Bar
7   Bar(T) { }
8 };
10 int
11 main ()
13   auto x = Bar(1);
14   auto y = new Bar(3);