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) {} %}