diff options
Diffstat (limited to 'libstdc++-v3/testsuite/tr1/6_containers/array/comparison_operators/less_or_equal.cc')
-rw-r--r-- | libstdc++-v3/testsuite/tr1/6_containers/array/comparison_operators/less_or_equal.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libstdc++-v3/testsuite/tr1/6_containers/array/comparison_operators/less_or_equal.cc b/libstdc++-v3/testsuite/tr1/6_containers/array/comparison_operators/less_or_equal.cc index 6b8f6caf7c4..d74b529edd1 100644 --- a/libstdc++-v3/testsuite/tr1/6_containers/array/comparison_operators/less_or_equal.cc +++ b/libstdc++-v3/testsuite/tr1/6_containers/array/comparison_operators/less_or_equal.cc @@ -1,6 +1,6 @@ // 2004-10-20 Benjamin Kosnik <bkoz@redhat.com> // -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005, 2006, 2007, 2008 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,10 +29,10 @@ test01() const size_t len = 5; typedef std::tr1::array<int, len> array_type; bool test __attribute__((unused)) = true; - array_type a = { 0, 1, 2, 3, 4 }; - array_type b = { 0, 1, 2, 3, 4 }; - array_type c = { 0, 1, 2, 3, 7 }; - + array_type a = { { 0, 1, 2, 3, 4 } }; + array_type b = { { 0, 1, 2, 3, 4 } }; + array_type c = { { 0, 1, 2, 3, 7 } }; + VERIFY( a <= b ); VERIFY( a <= c ); } |