]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* g++.dg/pr82836.C: Add -Wno-return-type.
authorJason Merrill <jason@gcc.gnu.org>
Fri, 17 Nov 2017 14:12:29 +0000 (09:12 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 17 Nov 2017 14:12:29 +0000 (09:12 -0500)
From-SVN: r254872

gcc/testsuite/g++.dg/pr82836.C

index 80876644b9844224f438206d6114c3984cd051be..e398a75428a564a2d4e75f7dc62cebfa2f679219 100644 (file)
@@ -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.