diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2010-08-19 19:15:54 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2010-08-19 19:15:54 +0000 |
| commit | 907af2668f69bc4e6822497171516f63587412ed (patch) | |
| tree | 2ce015ccbe64803134f3827f3a00ebfb0ba95f1a /libcxx/test/utilities | |
| parent | 3c93e3dae76f4719d1d6690db9e68055ae8494c5 (diff) | |
| download | bcm5719-llvm-907af2668f69bc4e6822497171516f63587412ed.tar.gz bcm5719-llvm-907af2668f69bc4e6822497171516f63587412ed.zip | |
GB 85, GB 87
llvm-svn: 111546
Diffstat (limited to 'libcxx/test/utilities')
3 files changed, 0 insertions, 93 deletions
diff --git a/libcxx/test/utilities/tuple/tuple.tuple/tuple.range/begin.pass.cpp b/libcxx/test/utilities/tuple/tuple.tuple/tuple.range/begin.pass.cpp deleted file mode 100644 index fc711b24275..00000000000 --- a/libcxx/test/utilities/tuple/tuple.tuple/tuple.range/begin.pass.cpp +++ /dev/null @@ -1,33 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// <tuple> - -// template <class... Types> class tuple; - -// template <class InputIterator> -// InputIterator begin(const tuple<InputIterator, InputIterator>& t); - -// template <class InputIterator> -// InputIterator end(const tuple<InputIterator, InputIterator>& t); - -#include <tuple> -#include <iterator> -#include <cassert> - -int main() -{ - { - typedef std::tuple<int*, int*> T; - int array[5] = {0, 1, 2, 3, 4}; - const T t(std::begin(array), std::end(array)); - assert(begin(t) == std::begin(array)); - assert(end(t) == std::end(array)); - } -} diff --git a/libcxx/test/utilities/utility/pairs/pair.range/begin.pass.cpp b/libcxx/test/utilities/utility/pairs/pair.range/begin.pass.cpp deleted file mode 100644 index a457ad09f50..00000000000 --- a/libcxx/test/utilities/utility/pairs/pair.range/begin.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// <utility> - -// template <class T1, class T2> struct pair - -// template <class InputIterator> -// InputIterator -// begin(const std::pair<InputIterator, InputIterator>& p); - -#include <utility> -#include <iterator> -#include <cassert> - -int main() -{ - { - typedef std::pair<int*, int*> P; - int a[3] = {0}; - P p(std::begin(a), std::end(a)); - assert(std::begin(p) == a); - } -} diff --git a/libcxx/test/utilities/utility/pairs/pair.range/end.pass.cpp b/libcxx/test/utilities/utility/pairs/pair.range/end.pass.cpp deleted file mode 100644 index 1c1a8625149..00000000000 --- a/libcxx/test/utilities/utility/pairs/pair.range/end.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// <utility> - -// template <class T1, class T2> struct pair - -// template <class InputIterator> -// InputIterator -// end(const std::pair<InputIterator, InputIterator>& p); - -#include <utility> -#include <iterator> -#include <cassert> - -int main() -{ - { - typedef std::pair<int*, int*> P; - int a[3] = {0}; - P p(std::begin(a), std::end(a)); - assert(std::end(p) == a+3); - } -} |

