]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix dg-do directive for tests supposed to be run
authorJonathan Wakely <jwakely@redhat.com>
Fri, 26 Nov 2021 13:58:07 +0000 (13:58 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 26 Nov 2021 15:11:58 +0000 (15:11 +0000)
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.

libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc
libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc

index 2af50d8985e8fce6bf9e501d089c6e17fc1a3f92..cb0db867f62481094c94b99a42457ea3841537d2 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do compile { target c++11 } }
+// { dg-do run { target c++11 } }
 
 // Copyright (C) 2020-2021 Free Software Foundation, Inc.
 //
index 6aec0e9448223baa720d597ebd32f698afd6d0cb..a3da636317ff54768f17b1eff4197fc1ffa1eb61 100644 (file)
@@ -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