Correct testcase use of typename to be inside a template

This commit is contained in:
William S Fulton 2015-07-03 07:49:28 +01:00
commit 335572170b

View file

@ -32,7 +32,7 @@ namespace Alloc {
};
}
void other1(typename Alloc::template rebind<ListBucket<Val> >::other) {}
void other2(typename Alloc::template rebind< ::template ListBucket<Val> >::other) {}
void other3(Alloc::template rebind<int>) {}
template<typename X> void other1(typename Alloc::template rebind<ListBucket<Val> >::other) {}
template<typename X> void other2(typename Alloc::template rebind< ::template ListBucket<Val> >::other) {}
template<typename X> void other3(Alloc::template rebind<int>) {}
%}