* [C++ PATCH] using directive
@ 2017-05-31 16:46 Nathan Sidwell
0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2017-05-31 16:46 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 140 bytes --]
I've committed this new testcase, from the modules branch. Something
that got fixed in the name-lookup change.
nathan
--
Nathan Sidwell
[-- Attachment #2: lam.diff --]
[-- Type: text/x-patch, Size: 458 bytes --]
2017-05-31 Nathan Sidwell <nathan@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) {};
+}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-31 16:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-31 16:46 [C++ PATCH] using directive Nathan Sidwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).