summaryrefslogtreecommitdiffstats
path: root/test/containers/associative/map/map.access/max_size.pass.cpp
blob: ee11af26298e7be7f3f88d4d9c5069b5b6421685 (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 distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <map>

// class map

// size_type max_size() const;

#include <map>
#include <cassert>

int main()
{
    typedef std::map<int, double> M;
    M m;
    assert(m.max_size() != 0);
}