summaryrefslogtreecommitdiffstats
path: root/libcxx/test/containers/associative/map/map.cons/default_recursive.pass.cpp
blob: 485822d49789cc4bc4087e90efc30a32823ffb05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <map>

// class map

// map();

#include <map>
#include <cassert>

int main()
{
    std::map<std::map<int,double>, std::map<int, double> > m;
    assert(m.empty());
    assert(m.begin() == m.end());
}
OpenPOWER on IntegriCloud