From 52c451e6ef67d428304be3299bb67195177f6759 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 25 Apr 2023 11:12:33 -0400 Subject: [PATCH] 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 ';'. --- 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 14daea312b7a..279478e9dcc0 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(); -- 2.43.5