diff mbox series

[committed,2/3] libstdc++: Fix dg-do directive for tests supposed to be run

Message ID 20211126151547.1728536-2-jwakely@redhat.com
State Committed
Commit 0a12bd92d146b9b2a1d6615d83aa87a10a3088f8
Headers show
Series [committed,1/3] libstdc++: Remove redundant xfail selectors in dg-do compile tests | expand

Commit Message

Jonathan Wakely Nov. 26, 2021, 3:15 p.m. UTC
Tested x86_64-linux, pushed to trunk.


libstdc++-v3/ChangeLog:

	* testsuite/23_containers/unordered_map/modifiers/move_assign.cc:
	Change dg-do compile to run.
	* testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc:
	Likewise.
---
 .../23_containers/unordered_map/modifiers/move_assign.cc        | 2 +-
 .../27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc
index 2af50d8985e..cb0db867f62 100644
--- a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc
+++ b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc
@@ -1,4 +1,4 @@ 
-// { dg-do compile { target c++11 } }
+// { dg-do run { target c++11 } }
 
 // Copyright (C) 2020-2021 Free Software Foundation, Inc.
 //
diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc
index 6aec0e94482..a3da636317f 100644
--- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc
@@ -16,7 +16,7 @@ 
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do run { target c++2a } }
 
 // LWG 2499
 // operator>>(basic_istream&, CharT*) makes it hard to avoid buffer overflows