summaryrefslogtreecommitdiffstats
path: root/test/containers/associative/multimap/max_size.pass.cpp
blob: e5c7ff0868ff25916b5eeba6eb81793168ec7997 (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 multimap

// size_type max_size() const;

#include <map>
#include <cassert>

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