1 // Copyright 2018 Peter Dimov 2 // Distributed under the Boost Software License, Version 1.0. 3 // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt 4 5 #include <boost/core/lightweight_test.hpp> 6 #include <string.h> 7 main(int ac,char const * av[])8int main( int ac, char const* av[] ) 9 { 10 BOOST_TEST_EQ( ac, 2 ); 11 12 if( ac >= 2 ) 13 { 14 BOOST_TEST_CSTR_EQ( av[1], "pumpkin" ); 15 } 16 17 return boost::report_errors(); 18 } 19