From f14419275f3207310a7c1d9e1196ef021def1e24 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 17 Nov 2017 09:12:29 -0500 Subject: [PATCH] * g++.dg/pr82836.C: Add -Wno-return-type. From-SVN: r254872 --- gcc/testsuite/g++.dg/pr82836.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/g++.dg/pr82836.C b/gcc/testsuite/g++.dg/pr82836.C index 80876644b98..e398a75428a 100644 --- a/gcc/testsuite/g++.dg/pr82836.C +++ b/gcc/testsuite/g++.dg/pr82836.C @@ -1,6 +1,6 @@ // PR c++/82836 -// { dg-do compile { target c++17 } } -// { dg-additional-options "-Wno-pedantic" } +// { dg-options "-std=c++17" } +// { dg-additional-options "-Wno-pedantic -Wno-return-type" } // We were resetting DECL_ASSEMBLER_NAME when processing pragma weak, // breaking C++'s mangling alias hash table. That hash table needs to // be tickled in just the right way to hit the problem. -- 2.30.2