Skip to content

Commit

Permalink
Add test/quick.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Sep 4, 2024
1 parent 7450d62 commit 4fe452a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -464,3 +464,8 @@ rule chrono-compile2 ( sources : name )
#[ chrono-run test_10778.cpp ]
[ chrono-run test_10631.cpp ]
;

# 'quick` target for CI

run quick.cpp
: : : -<use>/boost/chrono//boost_chrono <library>/boost/chrono//boost_chrono ;
11 changes: 11 additions & 0 deletions test/quick.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright 2024 Peter Dimov
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt

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

int main()
{
std::cout << boost::chrono::system_clock::now() << std::endl;
}

0 comments on commit 4fe452a

Please sign in to comment.