]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/std/utilities/time/time.cal/time.cal.mwdlast/types.pass.cpp
Vendor import of libc++ trunk r351319 (just before the release_80
[FreeBSD/FreeBSD.git] / test / std / utilities / time / time.cal / time.cal.mwdlast / types.pass.cpp
1 //===----------------------------------------------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++98, c++03, c++11, c++14, c++17
10
11 // <chrono>
12
13 // class month_weekday_last;
14
15 #include <chrono>
16 #include <type_traits>
17 #include <cassert>
18
19 #include "test_macros.h"
20
21 int main()
22 {
23     using month_weekday_last = std::chrono::month_weekday_last;
24
25     static_assert(std::is_trivially_copyable_v<month_weekday_last>, "");
26     static_assert(std::is_standard_layout_v<month_weekday_last>, "");
27 }