diff mbox

[C++,testcase,committed] PR 56565

Message ID 513A6C09.7010906@oracle.com
State New
Headers show

Commit Message

Paolo Carlini March 8, 2013, 10:54 p.m. UTC
Hi,

I'm adding the testcase and closing the PR as fixed.

Thanks,
Paolo.

//////////////////////
2013-03-08  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/56565
	* g++.dg/cpp0x/lambda/lambda-nsdmi2.C: New.
diff mbox

Patch

Index: g++.dg/cpp0x/lambda/lambda-nsdmi2.C
===================================================================
--- g++.dg/cpp0x/lambda/lambda-nsdmi2.C	(revision 0)
+++ g++.dg/cpp0x/lambda/lambda-nsdmi2.C	(working copy)
@@ -0,0 +1,4 @@ 
+// PR c++/56565
+// { dg-do compile { target c++11 } }
+
+struct bug { int a; int *b = [&]{ return &a; }(); };