[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / libcxx / test / std / containers / views / views.span / trivially_copyable.compile.pass.cpp
blobbb30bb6aab5eea2eecd1e18b1cb1d3cab4ad9783
1 //
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
5 //
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.
12 // <span>
14 #include <span>
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>>);