]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/pr61924.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr61924.C
CommitLineData
4573e50a
PC
1// PR c++/61924
2// { dg-do compile { target c++11 } }
3
4struct function
5{
6 template < typename _Functor > function (_Functor); // { dg-error "never defined" }
7};
8
9template < typename > struct RetryingRpc
10{
11 template < typename StubType> RetryingRpc (StubType, function =[]{});
12};
13
14void fn()
15{
16 RetryingRpc<int> rpc(0, []{});
17}
This page took 3.966473 seconds and 5 git commands to generate.