1
//===----------------------------------------------------------------------===//
3
// The LLVM Compiler Infrastructure
5
// This file is dual licensed under the MIT and the University of Illinois Open
6
// Source Licenses. See LICENSE.TXT for details.
8
//===----------------------------------------------------------------------===//
12
// template <class C> auto end(const C& c) -> decltype(c.end());
20
const std::vector<int> v(ia, ia + sizeof(ia)/sizeof(ia[0]));
21
std::vector<int>::const_iterator i = end(v);
22
assert(i == v.cend());