mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
93249dde86
commit
a8f9665bb3
|
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
// 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; };
|
||||
Loading…
Reference in New Issue