]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/functions.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / tr1 / 8_c_compatibility / cmath / functions.cc
index 6bbb1489d5316a26e30691648997d722cc202a20..ad5955a536142d33844db3a7ec63c7cae778199d 100644 (file)
@@ -2,12 +2,12 @@
 
 // 2006-02-07  Paolo Carlini  <pcarlini@suse.de>
 //
-// Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
+// Copyright (C) 2006-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
 // terms of the GNU General Public License as published by the
-// Free Software Foundation; either version 2, or (at your option)
+// Free Software Foundation; either version 3, or (at your option)
 // any later version.
 //
 // This library is distributed in the hope that it will be useful,
@@ -16,9 +16,8 @@
 // GNU General Public License for more details.
 //
 // You should have received a copy of the GNU General Public License along
-// with this library; see the file COPYING.  If not, write to the Free
-// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
-// USA.
+// with this library; see the file COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
 
 // 8.16 Additions to header <cmath>
 
@@ -182,6 +181,13 @@ void test01()
   ret = std::tr1::trunc(d0);
   fret = std::tr1::truncf(f0);
   ldret = std::tr1::truncl(ld0);
-  
+
+  ret = ret; // Suppress unused warnings.
+  iret = iret;
+  lret = lret;
+  llret = llret;
+  fret = fret;
+  ldret = ldret;
+
 #endif
 }