aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorPaolo Carlini <paolo@gcc.gnu.org>2012-10-11 13:23:33 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2012-10-11 13:23:33 +0000
commit56355dc97082d7e6065d266e4fef76ba8362e17d (patch)
tree5285adbfa5ec1fc9c5e5447db14896e71af1d9ef /libstdc++-v3
parent970293de5744fc29af4137dd5bafc42606cf8131 (diff)
downloadgcc-56355dc97082d7e6065d266e4fef76ba8362e17d.zip
gcc-56355dc97082d7e6065d266e4fef76ba8362e17d.tar.gz
gcc-56355dc97082d7e6065d266e4fef76ba8362e17d.tar.bz2
45713.cc: Tweak.
2012-10-11 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/23_containers/bitset/45713.cc: Tweak. From-SVN: r192357
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/testsuite/23_containers/bitset/45713.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/bitset/45713.cc b/libstdc++-v3/testsuite/23_containers/bitset/45713.cc
index 2e8f452..fe2068c 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 <bitset>
// 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];