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 // Check that std::multimap fails to instantiate if the comparison predicate is
13 // not copy-constructible. This is LWG issue 2436
19 bool operator () (const T& lhs, const T& rhs) const { return lhs < rhs; }
23 Comp (const Comp &); // declared but not defined
28 std::multimap<int, int, Comp<int> > m;