Home | History | Annotate | Download | only in time.cal.mwd
      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 // class month_weekday;
     13 
     14 #include <chrono>
     15 #include <type_traits>
     16 #include <cassert>
     17 
     18 #include "test_macros.h"
     19 
     20 int main()
     21 {
     22     using month_weekday = std::chrono::month_weekday;
     23 
     24     static_assert(std::is_trivially_copyable_v<month_weekday>, "");
     25     static_assert(std::is_standard_layout_v<month_weekday>, "");
     26 }
     27