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: 692691 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3tDNL15X3Fz9vDV for ; Wed, 9 Nov 2016 21:52:25 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="PORVW06D"; dkim-atps=neutral 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=J6nvEZoCXTPLJkEs24EN+gveg/H7UUpF6PW3fnDBDe1M/dGwFu vO/R2RK96bMy+DwhPlWhnubo0YMHkT2xXS1lBTQc54bg+DPi6xqm+XSpfwStQ8xG cxrBz3Zh+x82U4amqD+JyquoEpEtxIH2aMnz3jZ56KNQZjDKGqCbTkTes= 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=PORVW06D06odaLGkysTU tDj4idK4I5D9uawVQmkZ+DY/rJA3WJJKlgqZij2czqsHIFBz/PNXCkMvyZzjSpCj g+yWQZ4OvpiAqnvewf6l1JIOR1BaDG0HOntRfIIR8fpBerPfQgzlfSbWd8yKPTb+ YcZM6WBZcWxcY7fZpByGRWU= 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 {