From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25798 invoked by alias); 31 May 2017 16:40:04 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 22692 invoked by uid 89); 31 May 2017 16:40:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=Something X-HELO: mail-yw0-f170.google.com Received: from mail-yw0-f170.google.com (HELO mail-yw0-f170.google.com) (209.85.161.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 31 May 2017 16:39:59 +0000 Received: by mail-yw0-f170.google.com with SMTP id p73so9055761ywp.0 for ; Wed, 31 May 2017 09:40:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:to:from:subject:message-id:date :user-agent:mime-version:content-language; bh=O1QP9bV4t+B8ARYEAd+JIJnHKRwNLG/7DnTABzuotuU=; b=Ih91u2n4sCuvkm3az3/JMxj/QALTJvTdSl5HiuDIavnaLvkvLNCwdtlKrxLKflrer+ lTcEE8ALgxd2WnUCTez87951bEMCz/gD3n5eJcFn+elGaSSNVXNqOdcaXRO99lZw/QjQ qclRsgNjtKX5M5bnxzU1wG8U4AtP0nssQuWdBPwB3r07UxF7L6H2D01AVSW4fAlgJgOD eMWimHNt/fFZ+U33dG3/t35GaK30FcxbKJuOHh1/mtAJySlMvcWL6QPAzXthqboZnA1f u6MBPGAHWYcEX7/o10Z48neHbSKZM8Ic0ObC+2Gh4/0RPWxd60g4gp/u7Jgohgz2l5xk dhyw== X-Gm-Message-State: AODbwcAxTgnjfRsVy+Zy8WsfqQJcr327dczI6QJ25XM4GYKx2xnyAYSM gn8HtdiBhx1mZQ== X-Received: by 10.129.81.140 with SMTP id f134mr20188208ywb.332.1496248801665; Wed, 31 May 2017 09:40:01 -0700 (PDT) Received: from ?IPv6:2620:10d:c0a3:20fb:7500:e7fb:4a6f:2254? ([2620:10d:c091:200::7:3f92]) by smtp.googlemail.com with ESMTPSA id u37sm7922340ywh.36.2017.05.31.09.40.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 May 2017 09:40:00 -0700 (PDT) To: GCC Patches From: Nathan Sidwell Subject: [C++ PATCH] using directive Message-ID: <7e00e96d-41c7-69e9-2dfc-aded595e0c52@acm.org> Date: Wed, 31 May 2017 16:46:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------3922294EC1C79E36B58FAACA" X-SW-Source: 2017-05/txt/msg02387.txt.bz2 This is a multi-part message in MIME format. --------------3922294EC1C79E36B58FAACA Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 140 I've committed this new testcase, from the modules branch. Something that got fixed in the name-lookup change. nathan -- Nathan Sidwell --------------3922294EC1C79E36B58FAACA Content-Type: text/x-patch; name="lam.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="lam.diff" Content-length: 458 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) {}; +} --------------3922294EC1C79E36B58FAACA--