]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/scope_exit/test/native_tu_test.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / scope_exit / test / native_tu_test.cpp
1
2 // Copyright (C) 2006-2009, 2012 Alexander Nasonov
3 // Copyright (C) 2012 Lorenzo Caminiti
4 // Distributed under the Boost Software License, Version 1.0
5 // (see accompanying file LICENSE_1_0.txt or a copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 // Home at http://www.boost.org/libs/scope_exit
8
9 #include "tu_test.hpp"
10 #include <boost/detail/lightweight_test.hpp>
11
12 void test(void) {
13 BOOST_TEST(tu1() == 1);
14 BOOST_TEST(tu2() == 2);
15 }
16
17 int main(void) {
18 test();
19 return boost::report_errors();
20 }
21