Skip to content

[Clang] Universal character names and Assertion failure in Clang 16 #62133

@hahn-absint

Description

@hahn-absint

With Clang 16 (since https://reviews.llvm.org/D130750), the following code causes an assertion failure, if Clang is build with assertions ("works" if assertions are disabled). It used to work with Clang 15 (with and without assertions), so this seems to be a regression.

void test() {
  int \u0024;
}

Tested on Linux with clang -E <file.c>

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partycrash-on-valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions