Skip to content

Attempt to instantiate invalid nested class declaration crashes clang #9945

@RealLitb

Description

@RealLitb
mannequin
Bugzilla Link 9573
Resolution FIXED
Resolved on Dec 07, 2020 18:11
Version trunk
OS Linux
CC @DougGregor

Extended Description

Clang crashes on this code:

template
struct A {
struct A; // should probably diagnose this.
};

template struct A::A; // crashes here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions