Skip to content

Clang: Failed assertion in nested instantiation #127421

Open
@katzdm

Description

@katzdm

While investigating a separate crash in a clang fork, I came across this gnarly nested instantiation that ICE's when assertions are enabled.

https://godbolt.org/z/317rj76cK

I wish I could say that I could reproduce this with fewer than three layers of nested templates - alas, nay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"constevalC++20 constevallambdaC++11 lambda expressionsregression:19Regression in 19 release

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions