1*87784cc6SLouis Dionne //===----------------------------------------------------------------------===//
2*87784cc6SLouis Dionne //
3*87784cc6SLouis Dionne // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*87784cc6SLouis Dionne // See https://llvm.org/LICENSE.txt for license information.
5*87784cc6SLouis Dionne // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*87784cc6SLouis Dionne //
7*87784cc6SLouis Dionne //===----------------------------------------------------------------------===//
8*87784cc6SLouis Dionne 
9*87784cc6SLouis Dionne // <memory>
10*87784cc6SLouis Dionne 
11*87784cc6SLouis Dionne // Make sure we can use std::allocator<void> in all Standard modes. While the
12*87784cc6SLouis Dionne // explicit specialization for std::allocator<void> was deprecated, using that
13*87784cc6SLouis Dionne // specialization was neither deprecated nor removed (in C++20 it should simply
14*87784cc6SLouis Dionne // start using the primary template).
15*87784cc6SLouis Dionne //
16*87784cc6SLouis Dionne // See https://llvm.org/PR50299.
17*87784cc6SLouis Dionne 
18*87784cc6SLouis Dionne #include <memory>
19*87784cc6SLouis Dionne 
20*87784cc6SLouis Dionne std::allocator<void> a;
21