2017-05-31 Nathan Sidwell * g++.dg/lookup/lambda1.C New. Index: testsuite/g++.dg/lookup/lambda1.C =================================================================== --- testsuite/g++.dg/lookup/lambda1.C (revision 0) +++ testsuite/g++.dg/lookup/lambda1.C (working copy) @@ -0,0 +1,13 @@ +// { dg-do compile { target c++11 } } + +namespace std +{ + typedef int I; +} + +void foo () +{ + using namespace std; + + auto l = [] (I) {}; +}