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 // priority_queue(const priority_queue&) = default;
23 for (int i = 0; i < n; ++i)
30 std::vector<int> v = make<std::vector<int> >(5);
31 std::priority_queue<int, std::vector<int>, std::greater<int> > qo(std::greater<int>(), v);
32 std::priority_queue<int, std::vector<int>, std::greater<int> > q = qo;
33 assert(q.size() == 5);