Commit 71871e37 by Paolo Carlini Committed by Paolo Carlini

re PR c++/51927 ([C++0x] Cannot access non-static members in initializer)

2013-05-04  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/51927
	* g++.dg/cpp0x/lambda/lambda-nsdmi4.C: New.

From-SVN: r198594
parent 5ec6aff2
2013-05-04 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51927
* g++.dg/cpp0x/lambda/lambda-nsdmi4.C: New.
2013-05-03 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/57150
......
// PR c++/51927
// { dg-do compile { target c++11 } }
struct function
{
template<typename Functor>
function(Functor);
};
struct testee
{
function l1 = []() { };
function l2 = [=]() { l1; };
};
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