aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2010-08-10 10:28:47 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2010-08-10 10:28:47 +0000
commit813c6cdf63ea7d7aa28f1607cad1f26bb2cf3946 (patch)
treee51084d66f948012ce5563b8a8add7730c311e29 /libstdc++-v3/testsuite
parent5aadb69b902fee99885e81999ca9d4c2042464ed (diff)
downloadgcc-813c6cdf63ea7d7aa28f1607cad1f26bb2cf3946.zip
gcc-813c6cdf63ea7d7aa28f1607cad1f26bb2cf3946.tar.gz
gcc-813c6cdf63ea7d7aa28f1607cad1f26bb2cf3946.tar.bz2
range_access.cc: Avoid -Wall warnings.
2010-08-10 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/23_containers/array/range_access.cc: Avoid -Wall warnings. From-SVN: r163054
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r--libstdc++-v3/testsuite/23_containers/array/range_access.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/array/range_access.cc b/libstdc++-v3/testsuite/23_containers/array/range_access.cc
index 544d9f9..77d0362 100644
--- a/libstdc++-v3/testsuite/23_containers/array/range_access.cc
+++ b/libstdc++-v3/testsuite/23_containers/array/range_access.cc
@@ -25,7 +25,7 @@
void
test01()
{
- std::array<int, 3> a{1, 2, 3};
+ std::array<int, 3> a{{1, 2, 3}};
std::begin(a);
std::end(a);
}