]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/filesystem/test/issues/9219.cpp
1 // Boost 9219.cpp --------------------------------------------------------------------//
3 // Copyright Beman Dawes 2014
5 // Distributed under the Boost Software License, Version 1.0.
6 // See http://www.boost.org/LICENSE_1_0.txt
8 // Library home page: http://www.boost.org/libs/filesystem
10 //--------------------------------------------------------------------------------------//
12 // In researching filesystem issues it is convenient to have a program that can be //
13 // quickly modified to test reported problems. That's the purpose of this file and //
14 // its associated Visual Studio and Boost.Build infrastructure. //
16 //--------------------------------------------------------------------------------------//
18 #include <boost/config/warning_disable.hpp>
20 #include <boost/filesystem.hpp>
23 #include <boost/core/lightweight_test.hpp>
24 #include <boost/detail/lightweight_main.hpp>
28 namespace fs
= boost::filesystem
;
30 //------------------------------------ cpp_main --------------------------------------//
32 int cpp_main(int argc
, char* argv
[])
34 cout
<< "Hello, 9219" << endl
;
35 cout
<< "This is a test for non-Windows systems" << endl
;
37 BOOST_TEST(fs::exists(const_cast< char* >(".")));
39 return ::boost::report_errors();