aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2017-11-17 09:12:29 -0500
committerJason Merrill <jason@gcc.gnu.org>2017-11-17 09:12:29 -0500
commitf14419275f3207310a7c1d9e1196ef021def1e24 (patch)
tree2a2ad368e0eda2b1577afe840b4f704d62416692 /gcc
parent96e0367ead5d8dcac3bec2865582e76e2fbab190 (diff)
downloadgcc-f14419275f3207310a7c1d9e1196ef021def1e24.zip
gcc-f14419275f3207310a7c1d9e1196ef021def1e24.tar.gz
gcc-f14419275f3207310a7c1d9e1196ef021def1e24.tar.bz2
* g++.dg/pr82836.C: Add -Wno-return-type.
From-SVN: r254872
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/pr82836.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/pr82836.C b/gcc/testsuite/g++.dg/pr82836.C
index 8087664..e398a75 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.