]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/check_nan.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / special_functions / 09_cyl_bessel_k / check_nan.cc
index b58a6fb95509a959b217c32805bccf4ad9c03c5b..c05614af0458e5ae0d31af6497f6754cf7ed80ea 100644 (file)
@@ -1,9 +1,10 @@
 // { dg-do run { target c++11 } }
 // { dg-require-c-std "" }
-// { dg-add-options ieee }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
+// { dg-add-options ieee }
+// { dg-prune-output ".*warning: tgammal has lower than advertised precision" }
 
-// Copyright (C) 2016 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
@@ -42,7 +43,6 @@ test01()
   long double d = std::cyl_bessel_k(nul, xl);
   long double e = std::cyl_bessel_kl(nul, xl);
 
-  bool test [[gnu::unused]] = true;
   VERIFY(std::isnan(a));
   VERIFY(std::isnan(b));
   VERIFY(std::isnan(c));
@@ -69,7 +69,6 @@ test02()
   long double d = std::cyl_bessel_k(nul, xl);
   long double e = std::cyl_bessel_kl(nul, xl);
 
-  bool test [[gnu::unused]] = true;
   VERIFY(std::isnan(a));
   VERIFY(std::isnan(b));
   VERIFY(std::isnan(c));