Skip to content

[Clang] Accepts invalid constructor declaration with an asterisk #121706

@MagentaTreehouse

Description

@MagentaTreehouse
struct A {
    *A();
};

See Compiler Explorer: https://compiler-explorer.com/z/ccf6rqenE

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepts-invalidclang:frontendLanguage frontend issues, e.g. anything involving "Sema"confirmedVerified by a second party

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions