Skip to content

Crash instantiating member template #11793

@llvmbot

Description

@llvmbot
Bugzilla Link 11421
Resolution FIXED
Resolved on Apr 25, 2012 13:42
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @akyrtzi,@DougGregor

Extended Description

template < unsigned > struct Combinatorial_map_base {
static const unsigned dimension = 3;
template struct One_dart_per_incident_cell_range: XXXXXXXXXdart_per_incident_cell_name {
};
};
typedef Combinatorial_map_base<3> LCC_3;
LCC_3::One_dart_per_incident_cell_range<>::iterator it;

$ clang++ -fsyntax-only a.ii
segfaults. It doesn't if I change the name starting with XXX.

(produced by delta, I still don't think that's the bug I am after...)

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