| //===----------------------------------------------------------------------===// |
| // The LLVM Compiler Infrastructure |
| // This file is dual licensed under the MIT and the University of Illinois Open |
| // Source Licenses. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| // constexpr duration& operator--(); // constexpr in C++17 |
| constexpr bool test_constexpr() |
| return (--h).count() == 2; |
| std::chrono::hours& href = --h; |
| static_assert(test_constexpr(), ""); |