From 2963cb89a83d904d64bbc1ac66251f9acf725bbb Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 23 Jul 2002 13:47:01 +0000 Subject: [PATCH] function_test.cpp: Don't use void() directly because of broken compilers [SVN r14571] --- test/function_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;