1 //===----------------------------------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
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).
16 // See https://llvm.org/PR50299.
20 std::allocator
<void> a
;