]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: remove stray ';' [PR109608]
authorJason Merrill <jason@redhat.com>
Tue, 25 Apr 2023 15:12:33 +0000 (11:12 -0400)
committerJason Merrill <jason@redhat.com>
Tue, 25 Apr 2023 15:30:41 +0000 (11:30 -0400)
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

index 14daea312b7a8c23aef0d6c579611e12767dc13a..279478e9dcc0f957eaa54e75b47311fafb88a935 100644 (file)
@@ -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();