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
13 
14 // mapped_type& operator[](const key_type& k);
15 
16 // http://llvm.org/bugs/show_bug.cgi?id=16542
17 
18 #include <map>
19 
20 #ifndef _LIBCPP_HAS_NO_VARIADICS
21 
22 #include <tuple>
23 
24 #endif
25 
26 int main()
27 {
28 #ifndef _LIBCPP_HAS_NO_VARIADICS
29     using namespace std;
30     map<tuple<int,int>, size_t> m;
31     m[make_tuple(2,3)]=7;
32 #endif
33 }
34