http://llvm.org/bugs/show_bug.cgi?id=11419
Bug #: 11419
Summary: Assertion `getCanonicalType(T) != T && "Cannot request
the size of a dependent type"
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Compiled with clang++ -c a.ii, I get an assertion failure:
template <unsigned int > class CMap_one_dart_per_cell_iterator {
};
template < unsigned int > struct Combinatorial_map_base {
static const unsigned int dimension = 42;
template<int dim=dimension> struct One_dart_per_cell_range {
typedef CMap_one_dart_per_cell_iterator<dim> iterator;
};
};
typedef Combinatorial_map_base<3> CMap_3;
int main() {
CMap_3::One_dart_per_cell_range<>::iterator a;
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs