[LLVMbugs] [Bug 9016] New: Assertion `D->isInvalidDecl() && "declaration was not instantiated in this scope!"' failed in many boost examples
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jan 21 01:55:30 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9016
Summary: Assertion `D->isInvalidDecl() && "declaration was not
instantiated in this scope!"' failed in many boost
examples
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: chris at bubblescope.net
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
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<typename > struct allocator ;
template<typename > struct less ;
template <class , template<class>class = less> struct interval_type_default ;
template <class T, template<class _T, template<class>class Compare = less,
class = typename interval_type_default<_T,Compare>::type, template<class> class
= allocator> class IntervalSet>
int int40()
{
IntervalSet<T> IntervalSetT;
}
--
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.
More information about the llvm-bugs
mailing list