From: Paolo Carlini Date: Thu, 11 Oct 2012 13:23:33 +0000 (+0000) Subject: 45713.cc: Tweak. X-Git-Tag: misc/gccgo-go1_1_2~237 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56355dc97082d7e6065d266e4fef76ba8362e17d;p=thirdparty%2Fgcc.git 45713.cc: Tweak. 2012-10-11 Paolo Carlini * testsuite/23_containers/bitset/45713.cc: Tweak. From-SVN: r192357 --- diff --git a/libstdc++-v3/testsuite/23_containers/bitset/45713.cc b/libstdc++-v3/testsuite/23_containers/bitset/45713.cc index 2e8f4526d730..fe2068c3171f 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/45713.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/45713.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2010, 2012 Free Software Foundation, Inc. +// Copyright (C) 2010-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,6 +23,4 @@ #include // libstdc++/45713 -#if __SIZEOF_SIZE_T__ >= 4 -int test[sizeof(std::bitset<0xffffffff>) != 1 ? 1 : -1]; -#endif +int test[sizeof(std::bitset<__SIZE_MAX__>) != 1 ? 1 : -1];