Files
gcc-reflection/gcc/testsuite/g++.dg/cpp1y/lambda-init17.C
Håkon Sandsmark 76bd270a7d PR c++/71546 - lambda init-capture with qualified-id.
* parser.c (cp_parser_lambda_introducer): Clear scope after
	each lambda capture.

From-SVN: r258043
2018-02-27 15:57:35 -05:00

11 lines
157 B
C

// PR c++/71546
// { dg-do compile { target c++14 } }
namespace n { struct make_shared { }; }
int main()
{
int x1;
[e = n::make_shared (), x1]() {};
}