scary.pass.cpp revision 06086258d3d8c48a916ec51c33e1ad8f46821b81
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// <map> 11 12// class map class multimap 13 14// Extension: SCARY/N2913 iterator compatibility between map and multimap 15 16#include <map> 17 18int main() 19{ 20 typedef std::map<int, int> M1; 21 typedef std::multimap<int, int> M2; 22 M2::iterator i; 23 M1::iterator j = i; 24} 25