]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/bitset/cons/6282.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / bitset / cons / 6282.cc
index 052a717b79530a625efb6fd17ea621b487b0dd4a..5aa17623ec842c4fd96fe6bfa3b5f5abc9ecb2d6 100644 (file)
@@ -1,6 +1,6 @@
 // 1999-06-08 bkoz
 
-// Copyright (C) 1999-2016 Free Software Foundation, Inc.
+// Copyright (C) 1999-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
 
 // boundary condition:  a zero-sized set
 // libstdc++/6282
-bool test02(void)
+void test02(void)
 {
   using std::char_traits;  using std::allocator;
-  bool test __attribute__((unused)) = true;
 
   std::bitset<0>  z1;
   VERIFY( z1.any() == false );
@@ -53,7 +52,6 @@ bool test02(void)
 
   VERIFY( z1.to_ulong() == 0 );
   VERIFY( (z1.to_string<char,char_traits<char>,allocator<char> >().empty() ));
-  return test;
 }
 
 int main()