blob: cf75e1ebb570f7b286fbbd58b025c409f93a47a2 [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03
// <map>
// class map
// mapped_type& operator[](const key_type& k);
// https://llvm.org/PR16542
#include <map>
#include <tuple>
int main(int, char**) {
std::map<std::tuple<int, int>, std::size_t> m;
m[std::make_tuple(2, 3)] = 7;
return 0;
}