//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // #include #include #include "test_allocator.h" #include "test_macros.h" static_assert(!std::is_default_constructible::reference>::value, ""); static_assert(!std::is_default_constructible >::reference>::value, ""); #if TEST_STD_VER >= 11 void test_no_ambiguity_among_default_constructors(std::enable_if); void test_no_ambiguity_among_default_constructors(std::vector::reference); void test_no_ambiguity_among_default_constructors(std::vector>::reference); ASSERT_SAME_TYPE(decltype(test_no_ambiguity_among_default_constructors({})), void); #endif