summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/sequences/deque/allocator_mismatch.fail.cpp
blob: 9223c1ecddcb0cd0996ebb0600ba16639d8ee89c (plain)
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.
//
//===----------------------------------------------------------------------===//

// <deque>
//   The container's value type must be the same as the allocator's value type

#include <deque>

int main()
{
    std::deque<int, std::allocator<long> > d;
}
OpenPOWER on IntegriCloud