From: Nathan Sidwell <nathan@acm.org>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: [C++ PATCH] using directive
Date: Wed, 31 May 2017 16:46:00 -0000 [thread overview]
Message-ID: <7e00e96d-41c7-69e9-2dfc-aded595e0c52@acm.org> (raw)
[-- 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) {};
+}
reply other threads:[~2017-05-31 16:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7e00e96d-41c7-69e9-2dfc-aded595e0c52@acm.org \
--to=nathan@acm.org \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).