summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/kwsys/kwsysPlatformCxxTests.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/kwsys/kwsysPlatformCxxTests.cxx b/Source/kwsys/kwsysPlatformCxxTests.cxx
index 8a45edd..fa06a50 100644
--- a/Source/kwsys/kwsysPlatformCxxTests.cxx
+++ b/Source/kwsys/kwsysPlatformCxxTests.cxx
@@ -155,7 +155,7 @@ template <class Alloc>
void f(const Alloc&)
{
typedef typename Alloc::size_type alloc_size_type;
-};
+}
int main()
{
f(kwsys_stl::allocator<char>());
@@ -175,7 +175,7 @@ template <class T, class Alloc>
void f(const T&, const Alloc&)
{
typedef typename Alloc::template rebind<T>::other alloc_type;
-};
+}
int main()
{
f(0, kwsys_stl::allocator<char>());
@@ -188,7 +188,7 @@ int main()
void f(kwsys_stl::allocator<char> const& a)
{
a.max_size(sizeof(int));
-};
+}
int main()
{
f(kwsys_stl::allocator<char>());
@@ -201,7 +201,7 @@ int main()
void f(kwsys_stl::vector<int> const& v1)
{
kwsys_stl::vector<int>(1, 1, v1.get_allocator());
-};
+}
int main()
{
f(kwsys_stl::vector<int>());