From patchwork Wed Nov 9 10:51:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Preudhomme X-Patchwork-Id: 81459 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp129549qge; Wed, 9 Nov 2016 02:52:31 -0800 (PST) X-Received: by 10.98.57.144 with SMTP id u16mr32118977pfj.142.1478688751299; Wed, 09 Nov 2016 02:52:31 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id z3si41397638pfd.61.2016.11.09.02.52.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Nov 2016 02:52:31 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-440832-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-440832-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-440832-patch=linaro.org@gcc.gnu.org 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=h7If01a+jwPPaO402HdC8dx3PuzVaLQgEO/yaWSBb2/bHIEg+p yzHZZgiXVGmSxX9kQdCAykUDGPOuBr3zvKBmTtgn/EJCKCoGKTpbX+QOF1/C8M9+ RoDTqNNPVyJN+Sx3d16EbvrGSOXgzmtYol6SoUFsbMbRMJk6Mg2zEmidU= 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=BZ8EwRE9TH4rEZfQd6vwpKI/hHA=; b=a3CfWp7worjqvYfJ1Lmk TirUkrNPUAw+YeaIrwMG38unZW+ec/+xW3NKVpw8urMAclYUEh4UormTq20jM3Wd 6SsV/bLdjNhfc+yVE2pV5JVNHoW6KQ23hw7PN3MGr/LBQ6UlXdaYDh8avo4Ykqie 3sGi6env8MWAo96CFNKTZlA= Received: (qmail 1914 invoked by alias); 9 Nov 2016 10:52:12 -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 1274 invoked by uid 89); 9 Nov 2016 10:52:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=PR78269, pr78269 X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 09 Nov 2016 10:52:01 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8607528; Wed, 9 Nov 2016 02:51:59 -0800 (PST) Received: from [10.2.206.52] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 379B23F24D for ; Wed, 9 Nov 2016 02:51:59 -0800 (PST) To: "gcc-patches@gcc.gnu.org" From: Thomas Preudhomme Subject: [PATCH, GCC/testsuite] Fix PR78269: noexcept-type9.C should be a compile test Message-ID: <313a92bc-996a-6ae9-1c70-a8121924f617@foss.arm.com> Date: Wed, 9 Nov 2016 10:51:57 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 X-IsSubscribed: yes g++.dg/cpp1z/noexcept-type9.C contains a dg-error but is currently a runtime test. The intent was clearly to make it a compile test to test that error, especially since there is no main. This patch changes it to a compile test. ChangeLog entry is as follows: *** gcc/testsuite/ChangeLog *** 2016-11-09 Thomas Preud'homme PR testsuite/78269 * g++.dg/cpp1z/noexcept-type9.C: Make it a compile test. Applied as obvious. Best regards, Thomas diff --git a/gcc/testsuite/g++.dg/cpp1z/noexcept-type9.C b/gcc/testsuite/g++.dg/cpp1z/noexcept-type9.C index 4547c4cc4d3c2bf3f7e049b4e6c1179b85982a62..a29618a3001266b003ab966daa80ca5e8d5020da 100644 --- a/gcc/testsuite/g++.dg/cpp1z/noexcept-type9.C +++ b/gcc/testsuite/g++.dg/cpp1z/noexcept-type9.C @@ -1,6 +1,6 @@ // Test for PMF template args. // { dg-options -std=c++1z } -// { dg-do run } +// { dg-do compile } struct A {