Debian Codegraph @

libstdc++-v3/testsuite/std/time/zoned_time/req_neg.cc

raw
1 // { dg-do compile { target c++20 } }
2 // { dg-require-effective-target cxx11_abi }
3
4 #include <chrono>
5
6 std::chrono::zoned_time<std::chrono::year> z; // { dg-error "here" }
7 // { dg-error "static assertion failed" "" { target *-*-* } 0 }
8 // { dg-prune-output "common_type" }