diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-01-28 23:46:28 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-01-28 23:46:28 +0000 |
commit | 2774545736201f6893b758acf3790bcb28b8acee (patch) | |
tree | 3e6d0cac2d42471289a734d4e72c62695f53f60a /libcxx/test/containers/sequences/array/begin.pass.cpp | |
parent | 9f9438b31495ff8d0372ba4e0183fe87f14864ed (diff) | |
download | bcm5719-llvm-2774545736201f6893b758acf3790bcb28b8acee.tar.gz bcm5719-llvm-2774545736201f6893b758acf3790bcb28b8acee.zip |
Bug 9096 - list::iterator not default constructible
llvm-svn: 124508
Diffstat (limited to 'libcxx/test/containers/sequences/array/begin.pass.cpp')
-rw-r--r-- | libcxx/test/containers/sequences/array/begin.pass.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/test/containers/sequences/array/begin.pass.cpp b/libcxx/test/containers/sequences/array/begin.pass.cpp index 3ee929468c0..9cba0d6fceb 100644 --- a/libcxx/test/containers/sequences/array/begin.pass.cpp +++ b/libcxx/test/containers/sequences/array/begin.pass.cpp @@ -20,7 +20,8 @@ int main() typedef double T; typedef std::array<T, 3> C; C c = {1, 2, 3.5}; - C::iterator i = c.begin(); + C::iterator i; + i = c.begin(); assert(*i == 1); assert(&*i == c.data()); *i = 5.5; |