]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/18_support/numeric_limits/specialization_default_values.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 18_support / numeric_limits / specialization_default_values.cc
index 1aa1b1c631857115247ef4c5d1548fda8967957f..68db9919910c651ead56fc59b7ba54ad6be7857c 100644 (file)
@@ -1,10 +1,8 @@
-// { dg-options "-mieee" { target alpha*-*-* } }
-// { dg-options "-mieee" { target sh*-*-* } }
+// { dg-add-options ieee }
 
 // 1999-08-23 bkoz
 
-// Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2009
-// Free Software Foundation
+// Copyright (C) 1999-2021 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
@@ -45,9 +43,8 @@ struct B
 };
 
 
-bool test01()
+void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::numeric_limits< A<B> > obj;
 
   VERIFY( !obj.is_specialized );
@@ -80,7 +77,6 @@ bool test01()
   VERIFY( !obj.traps );
   VERIFY( !obj.tinyness_before );
   VERIFY( obj.round_style == std::round_toward_zero );
-  return test;
 }
 
 // test linkage of the generic bits