Commit a8f9665b by Paolo Carlini Committed by Paolo Carlini

re PR c++/57429 (Dependent function call with one visible declaration, deleted)

2018-05-08  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57429
	* g++.dg/cpp0x/deleted14.C: New.

From-SVN: r260035
parent 93249dde
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>
......
// 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; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment