]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/moneypunct/members/char/1.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / moneypunct / members / char / 1.cc
index fac61ec3d585442fdfa00c9928b789755f4b63e5..c716942bdabd5763b077a26c61c3b93ad308391a 100644 (file)
@@ -1,6 +1,6 @@
 // 2001-08-23 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation
+// Copyright (C) 2001-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
@@ -29,8 +29,6 @@ void test01()
   typedef money_base::part part;
   typedef money_base::pattern pattern;
 
-  bool test __attribute__((unused)) = true;
-
   // basic construction
   locale loc_c = locale::classic();
 
@@ -59,6 +57,8 @@ void test01()
   pattern neg1 = monp_c_t.neg_format();
   pattern pos2 = monp_c_f.pos_format();
   pattern neg2 = monp_c_f.neg_format();
+  neg1 = neg1;
+  neg2 = neg2;
 
   VERIFY( q1 == '.' );
   VERIFY( q3 == '.' );