1//===----------------------------------------------------------------------===//
2//
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
6//
7//===----------------------------------------------------------------------===//
8// UNSUPPORTED: c++03, c++11, c++14, c++17
9
10// <chrono>
11// class month_weekday;
12
13#include <chrono>
14#include <type_traits>
15#include <cassert>
16
17#include "test_macros.h"
18
19int main(int, char**)
20{
21 using month_weekday = std::chrono::month_weekday;
22
23 static_assert(std::is_trivially_copyable_v<month_weekday>, "");
24 static_assert(std::is_standard_layout_v<month_weekday>, "");
25
26 return 0;
27}
28

source code of libcxx/test/std/time/time.cal/time.cal.mwd/types.pass.cpp