From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2122) id 3D9263858D32; Tue, 25 Apr 2023 15:30:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D9263858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682436656; bh=XdI5nmFkez+9a1Rts0cHXnbYL3PhmvZT1qzyLh+68RU=; h=From:To:Subject:Date:From; b=eRwLM0uIXYI6Rk+/9iQPxPzlgpWA9gE6sghPJ+nWYSeMPuce+kExMMx8oCULXN7Cu 24hD6RgkjC7v4+wNqoaq1oI6EyiS0uIaTG/d0JI7P0IL5X1LSH73X6rBSJGlZqEs4N Tel7/3nZb4CI2xTbz4BDRDeI2IGE9O3x8Fhp96G0= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jason Merrill To: gcc-cvs@gcc.gnu.org Subject: [gcc r10-11312] testsuite: remove stray ';' [PR109608] X-Act-Checkin: gcc X-Git-Author: Jason Merrill X-Git-Refname: refs/heads/releases/gcc-10 X-Git-Oldrev: 555c2e7505da7e83923cee07c0cfe3baacfd1101 X-Git-Newrev: 52c451e6ef67d428304be3299bb67195177f6759 Message-Id: <20230425153056.3D9263858D32@sourceware.org> Date: Tue, 25 Apr 2023 15:30:56 +0000 (GMT) List-Id: https://gcc.gnu.org/g:52c451e6ef67d428304be3299bb67195177f6759 commit r10-11312-g52c451e6ef67d428304be3299bb67195177f6759 Author: Jason Merrill Date: Tue Apr 25 11:12:33 2023 -0400 testsuite: remove stray ';' [PR109608] GCC 10 is still pedantic about empty declarations. PR testsuite/109608 gcc/testsuite/ChangeLog: * g++.dg/cpp0x/constexpr-pmf3.C: Remove stray ';'. Diff: --- gcc/testsuite/g++.dg/cpp0x/constexpr-pmf3.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-pmf3.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-pmf3.C index 14daea312b7..279478e9dcc 100644 --- a/gcc/testsuite/g++.dg/cpp0x/constexpr-pmf3.C +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-pmf3.C @@ -9,5 +9,5 @@ struct B : public A { }; using APMF = void (A::*)(); using BPMF = void (B::*)(); -constexpr APMF foo () { return &A::CB; }; +constexpr APMF foo () { return &A::CB; } static constexpr BPMF b = foo();