re PR c++/56565 (lambda function in NSMI fails to capture non-static data member.)
2013-03-08 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56565 * g++.dg/cpp0x/lambda/lambda-nsdmi2.C: New. From-SVN: r196564
This commit is contained in:
parent
f030a1dc03
commit
cf2435d3d3
@ -1,3 +1,8 @@
|
||||
2013-03-08 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/56565
|
||||
* g++.dg/cpp0x/lambda/lambda-nsdmi2.C: New.
|
||||
|
||||
2013-03-08 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/51412
|
||||
|
4
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi2.C
Normal file
4
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi2.C
Normal file
@ -0,0 +1,4 @@
|
||||
// PR c++/56565
|
||||
// { dg-do compile { target c++11 } }
|
||||
|
||||
struct bug { int a; int *b = [&]{ return &a; }(); };
|
Loading…
Reference in New Issue
Block a user