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 2af50d8..cb0db86 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 6aec0e9..a3da636 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