// (C) Copyright Jonathan Turkanis 2004 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) // This test should fail to compile for both static_move_ptr and // dynamic_move_ptr. #include "./detail/move_ptr.hpp" struct incomplete; incomplete* new_incomplete(); int main() { BOOST_MOVE_PTR ptr(new_incomplete()); }