diff options
Diffstat (limited to 'libstdc++-v3/testsuite/decimal/conversion-to-integral.cc')
-rw-r--r-- | libstdc++-v3/testsuite/decimal/conversion-to-integral.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/decimal/conversion-to-integral.cc b/libstdc++-v3/testsuite/decimal/conversion-to-integral.cc index 9322c1bc78f..41ff2f5d409 100644 --- a/libstdc++-v3/testsuite/decimal/conversion-to-integral.cc +++ b/libstdc++-v3/testsuite/decimal/conversion-to-integral.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2009 Free Software Foundation, Inc. +// Copyright (C) 2009-2012 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 @@ -23,7 +23,6 @@ #include <decimal/decimal> #include <climits> -#include <cstdio> #include <testsuite_hooks.h> // Use extension to replace implicit long long conversion with function call. @@ -36,6 +35,7 @@ conversion_to_integral_32 (void) { #undef MAXVAL #define MAXVAL 999999LL + bool test __attribute__((unused)) = true; decimal32 a, b (1), c (-1), d (MAXVAL), e (-MAXVAL); long long ll; @@ -51,6 +51,7 @@ conversion_to_integral_64 (void) { #undef MAXVAL #define MAXVAL 999999999999999LL + bool test __attribute__((unused)) = true; decimal64 a, b (1), c (-1), d (MAXVAL), e (-MAXVAL); long long ll; @@ -66,6 +67,7 @@ conversion_to_integral_128 (void) { #undef MAXVAL #define MAXVAL LONG_LONG_MAX + bool test __attribute__((unused)) = true; decimal128 a, b (1), c (-1), d (MAXVAL), e (-MAXVAL); long long ll; |