summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/timer/test/chrono_conflict_test.cpp
blob: 8d5386b80a9e9604fdf0975ba86398b745ad117d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2017 Peter Dimov.
//
// Distributed under the Boost Software License, Version 1.0.
//
// Check that using Chrono and Timer in the same program does
//   not cause link errors.


#include <boost/chrono.hpp>
#include <boost/timer/timer.hpp>

int main()
{
    boost::chrono::steady_clock::now();
    boost::timer::cpu_timer cpt;
}