diff options
Diffstat (limited to 'libcxx/test/utilities/utility')
| -rw-r--r-- | libcxx/test/utilities/utility/pairs/pair.range/begin.pass.cpp | 30 | ||||
| -rw-r--r-- | libcxx/test/utilities/utility/pairs/pair.range/end.pass.cpp | 30 |
2 files changed, 0 insertions, 60 deletions
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); - } -} |

