libstdc++-v3 testsuite: fix malformed dg-require-static-libstdcxx directives
I believe these don't get detected by DejaGnu's regexp. Found by dg-lint. libstdc++-v3/ChangeLog: * testsuite/17_intro/shared_with_static_deps.cc: Fix malformed dg-require-static-libstdcxx directive. * testsuite/17_intro/static.cc: Likewise. * testsuite/18_support/type_info/110572.cc: Likewise. * testsuite/20_util/to_chars/4.cc: Likewise. * testsuite/std/time/tzdb_list/pr118811.cc: Likewise. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
This commit is contained in:
parent
c88abca94a
commit
1ee9caf2f8
5 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
// { dg-do link }
|
||||
// { dg-require-static-libstdcxx }
|
||||
// { dg-require-static-libstdcxx "" }
|
||||
// { dg-require-sharedlib "" }
|
||||
// { dg-require-effective-target fpic }
|
||||
// { dg-options "-shared -fPIC -static-libgcc -static-libstdc++" }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// { dg-do run { target c++11 } }
|
||||
// { dg-require-static-libstdcxx }
|
||||
// { dg-require-static-libstdcxx "" }
|
||||
// { dg-options "-static-libstdc++" }
|
||||
|
||||
// Copyright (C) 2012-2025 Free Software Foundation, Inc.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// { dg-options "-static-libstdc++" }
|
||||
// { dg-do link }
|
||||
// { dg-require-static-libstdcxx }
|
||||
// { dg-require-static-libstdcxx "" }
|
||||
// { dg-require-cpp-feature-test __cpp_rtti }
|
||||
|
||||
#include <typeinfo>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
// { dg-do link { target c++17 } }
|
||||
// { dg-require-effective-target ieee_floats }
|
||||
// { dg-require-static-libstdcxx }
|
||||
// { dg-require-static-libstdcxx "" }
|
||||
// { dg-additional-options "-static-libstdc++" }
|
||||
|
||||
// Verify the Ryu symbol generic_to_chars doesn't inadvertently leak into
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// { dg-do run { target c++20 } }
|
||||
// { dg-require-effective-target tzdb }
|
||||
// { dg-require-effective-target cxx11_abi }
|
||||
// { dg-require-static-libstdcxx }
|
||||
// { dg-require-static-libstdcxx "" }
|
||||
// { dg-additional-options "-static-libstdc++" }
|
||||
|
||||
#include <chrono>
|
||||
|
|
Loading…
Add table
Reference in a new issue