From fea1bbb188cf0cd369ed2159459ed6bf14dcd1c3 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 5 Jul 2015 17:15:55 +0100 Subject: [PATCH] Testcase workaround for Solaris --- Examples/test-suite/template_keyword_in_type.i | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Examples/test-suite/template_keyword_in_type.i b/Examples/test-suite/template_keyword_in_type.i index 27765c648..b54b8ad4a 100644 --- a/Examples/test-suite/template_keyword_in_type.i +++ b/Examples/test-suite/template_keyword_in_type.i @@ -33,6 +33,10 @@ namespace Alloc { } template void other1(typename Alloc::template rebind >::other) {} +#if !defined(__SUNPRO_CC) template void other2(typename Alloc::template rebind< ::template ListBucket >::other) {} +#else +template void other2(typename Alloc::template rebind< :: ListBucket >::other) {} +#endif template void other3(Alloc::template rebind) {} %}