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 //===----------------------------------------------------------------------===//
13 // template <class T1, class T2>
15 // operator==(const allocator<T1>&, const allocator<T2>&) throw();
17 // template <class T1, class T2>
19 // operator!=(const allocator<T1>&, const allocator<T2>&) throw();
24 #include "test_macros.h"
26 TEST_CONSTEXPR_CXX20
bool test()
28 std::allocator
<int> a1
;
29 std::allocator
<int> a2
;
41 static_assert(test());