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