1//===----------------------------------------------------------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is dual licensed under the MIT and the University of Illinois Open 6// Source Licenses. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9 10// <unordered_set> 11 12// class unordered_set class unordered_multiset 13 14// Extension: SCARY/N2913 iterator compatibility between unordered_set and unordered_multiset 15 16#include <unordered_set> 17 18int main() 19{ 20 typedef std::unordered_set<int> M1; 21 typedef std::unordered_multiset<int> M2; 22 M2::iterator i; 23 M1::iterator j = i; 24 ((void)j); 25} 26