|
|
| Bugzilla Link |
9016 |
| Resolution |
FIXED |
| Resolved on |
Mar 05, 2011 11:58 |
| Version |
trunk |
| OS |
All |
| Reporter |
LLVM Bugzilla Contributor |
| CC |
@DougGregor |
Extended Description
The following code causes an assertion in a current svn head. It only appeared recently. I can reproduce this in an asserts+debug build.
The code appears valid, and is accepted by g++.
template struct allocator ;
template struct less ;
template <class , templateclass = less> struct interval_type_default ;
template <class T, template<class _T, templateclass Compare = less, class = typename interval_type_default<_T,Compare>::type, template class = allocator> class IntervalSet>
int int40()
{
IntervalSet IntervalSetT;
}