cxx/test/utilities/time/time.traits/time.traits.duration_values/zero.pass.cpp
2010-05-11 21:36:01 +00:00

24 lines
578 B
C++

//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <chrono>
// duration_values::zero
#include <chrono>
#include <cassert>
#include "../../rep.h"
int main()
{
assert(std::chrono::duration_values<int>::zero() == 0);
assert(std::chrono::duration_values<Rep>::zero() == 0);
}