From patchwork Tue Nov 12 14:39:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Sidwell X-Patchwork-Id: 1193584 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-513134-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=acm.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="Qo8SGemZ"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="o2Y23Yek"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47C9Pn09rPz9sP3 for ; Wed, 13 Nov 2019 01:39:54 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=vHKGDhXEZ1Hc39FLqa53cvIIL3Ud95G6e2jjcER/EdzJoSMFWa 5UAVxvmiV7Y5wDC+ZHJuWWoALm64aH5RoNXfA8JEXsgGlaGaRXMNbQZSJA0ARi6K C9P/XTIiQ/jK1mMk6Bp9yCNeaXtBpUKhW6Mi5Q5UwnpT0kqgXd7oNFkfU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=9vFAnR0tRdfIyslnl6MsLrCCoO4=; b=Qo8SGemZ7m+dU3gOR7ps OhynkW4+kxOk5BCWpgPvZ1ni7Htid/IsMTaIYVaxR45PQ2mVxtdTMQsoPo4EEnuK uutZrA2ekvurpntwo/0k0qbtm8Z40oXrXkhOZztXKd31C+KyK8aadrOXne4+q7VH 1DtKu93xz3IkUp6Jpr2/8zU= Received: (qmail 87529 invoked by alias); 12 Nov 2019 14:39:48 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 87521 invoked by uid 89); 12 Nov 2019 14:39:47 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Google-DKIM-Signature:sender, HX-Languages-Length:741, H*F:D*acm.org X-HELO: mail-qt1-f177.google.com Received: from mail-qt1-f177.google.com (HELO mail-qt1-f177.google.com) (209.85.160.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 12 Nov 2019 14:39:46 +0000 Received: by mail-qt1-f177.google.com with SMTP id t20so19948535qtn.9 for ; Tue, 12 Nov 2019 06:39:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=uiqWNttfYFJS9DZnizs5JZO0D/tFJz7YZIjkARbvTg4=; b=o2Y23YektS+sGi25JMQEhQH1Eh366ry73EGfpMgEabwchjsCfZwS2ENLjsh60qafnL LjIYVIJOmJiobCKp/kIxNjK9oMstYakWhYj8C8TRJcwpVpZTZicGpZrd54iLHjYpbWs0 slvVaocj0ac6y+Y3XyFOTOj5xFuZ07NW7NrCPP0sdkQXjVde9kcTl5fX+yUNjy1BrMjo drmId3eZm/KICcVomcTIoCo3nl1fi2Yl1nOPj7nQqZ+UNyIiA+F8QycrLm1MfTFW4/cl UYGaQ0R8bDPhQTmOK/lm5jpp5nY/lcbX2Oxf2SnICnRB6FrcnHvcio98VIT41yYYJf7m OM7A== Received: from ?IPv6:2620:10d:c0a3:1407:a500:f6f8:6172:7eff? ([2620:10d:c091:500::3:2f0c]) by smtp.googlemail.com with ESMTPSA id x20sm476177qkh.78.2019.11.12.06.39.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Nov 2019 06:39:43 -0800 (PST) To: GCC Patches From: Nathan Sidwell Subject: [PR c++/6936] Delete duplicate test Message-ID: <9545cee9-8ad0-34b0-f448-e149ab22f0f0@acm.org> Date: Tue, 12 Nov 2019 09:39:42 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 6936 and using38 are the same test. Deleting one of them. nathan 2019-11-12 Nathan Sidwell * g++.dg/lookup/pr6936.C: Delete, identical to using38.C Index: g++.dg/lookup/pr6936.C =================================================================== --- g++.dg/lookup/pr6936.C (revision 278094) +++ g++.dg/lookup/pr6936.C (working copy) @@ -1,23 +0,0 @@ -// { dg-do compile } -// PR c++/6936 - -struct Baser -{ - enum { j, i }; // { dg-message "declared" } -}; - -struct Base : Baser -{ - static void j(); - static void i(); -}; - -struct Derv : Base -{ - using Baser::j; -private: - using Baser::i; -}; - -int k = Derv::j; -int l = Derv::i; // { dg-error "context" }