Fix nodiscard test failures.
authorJason Merrill <jason@gcc.gnu.org>
Fri, 1 Nov 2019 20:12:30 +0000 (16:12 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 1 Nov 2019 20:12:30 +0000 (16:12 -0400)
commit2df0c2315a21a05838c8015d27678d236f4d0cd4
tree58f6f3514a5f39fc2fc242cda1c6b5cd122ddb9a
parent2028ce454f4d9424aaf05c27b20f13ea52748caf
Fix nodiscard test failures.

* g++.dg/cpp2a/nodiscard-once.C: Expect nodiscard warning.
* g++.dg/cpp2a/nodiscard-reason.C: Adjust expected warnings.

From-SVN: r277719
gcc/testsuite/g++.dg/cpp2a/nodiscard-once.C
gcc/testsuite/g++.dg/cpp2a/nodiscard-reason.C