2 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3 // See https://llvm.org/LICENSE.txt for license information.
4 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //===----------------------------------------------------------------------===//
8 // UNSUPPORTED: c++03, c++11, c++14, c++17
10 // P2251 was voted into C++23, but is supported even in C++20 mode by all vendors.
15 #include <type_traits>
17 static_assert(std::is_trivially_copyable_v
<std::span
<int>>);
18 static_assert(std::is_trivially_copyable_v
<std::span
<int, 3>>);