2018-05-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/57429
* g++.dg/cpp0x/deleted14.C: New.
From-SVN: r260035
+2018-05-08 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/57429
+ * g++.dg/cpp0x/deleted14.C: New.
+
2018-05-08 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
--- /dev/null
+// PR c++/57429
+// { dg-do compile { target c++11 } }
+
+void f() = delete;
+
+template< typename t >
+void ft() { f( t() ); }
+
+template< typename t >
+struct ct { decltype( f( t() ) ) m; };