Skip to content

Assertion `D->isInvalidDecl() && "declaration was not instantiated in this scope!"' failed in many boost examples #9388

@llvmbot

Description

@llvmbot
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;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions