I've committed this new testcase, from the modules branch. Something
that got fixed in the name-lookup change.
nathan
--
Nathan Sidwell
2017-05-31 Nathan Sidwell <nat...@acm.org>
* 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) {};
+}