libstdc++: Ensure c++NN effective target present in all C++17 tests
[gcc.git] / libstdc++-v3 / testsuite / 21_strings / basic_string / lwg2758.cc
index 9a2572dd4d68dfed7b14b5dd72116793ac153eb8..3284caeaad688d2e06cb482bd765d27ade036288 100644 (file)
@@ -1,7 +1,7 @@
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the