diff --git a/test/function_test.cpp b/test/function_test.cpp index 086257e..166d1e6 100644 --- a/test/function_test.cpp +++ b/test/function_test.cpp @@ -637,7 +637,8 @@ test_new_syntax() { #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION write_five_obj five; - function v2; + typedef void F2(); + function v2; // Assignment v2 = five;