diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-11-26 13:58:07 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-11-26 15:11:58 +0000 |
commit | 0a12bd92d146b9b2a1d6615d83aa87a10a3088f8 (patch) | |
tree | f0f7da25bb7b94c3f0dfa59114e3d49a6c97ae5a | |
parent | 1ecc9ba57833feeb9f95fa632d21ff73070c765e (diff) | |
download | gcc-0a12bd92d146b9b2a1d6615d83aa87a10a3088f8.zip gcc-0a12bd92d146b9b2a1d6615d83aa87a10a3088f8.tar.gz gcc-0a12bd92d146b9b2a1d6615d83aa87a10a3088f8.tar.bz2 |
libstdc++: Fix dg-do directive for tests supposed to be run
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.
-rw-r--r-- | libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc | 2 |
2 files changed, 2 insertions, 2 deletions
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 2af50d8..cb0db86 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 6aec0e9..a3da636 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 |