function_test.cpp: Don't use void() directly because of broken compilers

[SVN r14571]
This commit is contained in:
Douglas Gregor
2002-07-23 13:47:01 +00:00
parent d62193624e
commit 2963cb89a8

View File

@ -637,7 +637,8 @@ test_new_syntax()
{
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
write_five_obj five;
function<void()> v2;
typedef void F2();
function<F2> v2;
// Assignment
v2 = five;