//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // deque() // deque::iterator() #define _LIBCPP_ABI_INCOMPLETE_TYPES_IN_DEQUE #include #include struct A { std::deque d; std::deque::iterator it; std::deque::reverse_iterator it2; }; int main() { A a; assert(a.d.size() == 0); a.it = a.d.begin(); a.it2 = a.d.rend(); }