aboutsummaryrefslogtreecommitdiff
path: root/test/std/containers/associative/map/allocator_mismatch.fail.cpp
blob: f5da14539c477ebda733840114237dea8a0e7b4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//===----------------------------------------------------------------------===//
//
//                     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>
//   The container's value type must be the same as the allocator's value type

#include <map>

int main()
{
    std::map<int, int, std::less<int>, std::allocator<long> > m;
}