* 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 8087664..e398a75 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.