Files
date/test/date_test/daysmday.fail.cpp
T

15 lines
270 B
C++

// Howard Hinnant
// This work is licensed under a Creative Commons Attribution 4.0 International License.
// http://creativecommons.org/licenses/by/4.0/
// days - day not allowed
#include "date.h"
int
main()
{
using namespace date;
auto x = days{3} - 7_d;
}