3 //===----------------------------------------------------------------------===//
5 // The LLVM Compiler Infrastructure
7 // This file is dual licensed under the MIT and the University of Illinois Open
8 // Source Licenses. See LICENSE.TXT for details.
10 //===----------------------------------------------------------------------===//
14 // Check that std::unordered_set and its iterators can be instantiated with an incomplete
17 #include <unordered_set>
22 std::size_t operator()(Tp const&) const {return 42;}
26 typedef std::unordered_set<A, MyHash<A> > Map;
29 Map::const_iterator cit;
30 Map::local_iterator lit;
31 Map::const_local_iterator clit;
34 inline bool operator==(A const& L, A const& R) { return &L == &R; }