• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
test(void)12 void test(void) {
13     BOOST_TEST(tu1() == 1);
14     BOOST_TEST(tu2() == 2);
15 }
16 
main(void)17 int main(void) {
18     test();
19     return boost::report_errors();
20 }
21 
22