diff --git a/Source/kwsys/kwsysPlatformCxxTests.cxx b/Source/kwsys/kwsysPlatformCxxTests.cxx index 8a45edddd..fa06a5000 100644 --- a/Source/kwsys/kwsysPlatformCxxTests.cxx +++ b/Source/kwsys/kwsysPlatformCxxTests.cxx @@ -155,7 +155,7 @@ template void f(const Alloc&) { typedef typename Alloc::size_type alloc_size_type; -}; +} int main() { f(kwsys_stl::allocator()); @@ -175,7 +175,7 @@ template void f(const T&, const Alloc&) { typedef typename Alloc::template rebind::other alloc_type; -}; +} int main() { f(0, kwsys_stl::allocator()); @@ -188,7 +188,7 @@ int main() void f(kwsys_stl::allocator const& a) { a.max_size(sizeof(int)); -}; +} int main() { f(kwsys_stl::allocator()); @@ -201,7 +201,7 @@ int main() void f(kwsys_stl::vector const& v1) { kwsys_stl::vector(1, 1, v1.get_allocator()); -}; +} int main() { f(kwsys_stl::vector());