Skip to content

[Clang] Suggest more test cases on issue 79748 #102422

@lyazj

Description

@lyazj

This is just a robustness enhancement suggestion.

#79748

I triggered this issue and found the solution done in #79748. However, the test cases attached to agozillon@323660a do not include those for reference qualifiers, in addition to cv-qualifiers. As for the completeness consideration, I suggest to add more test cases like:

void* operator new(size_t bytes) &;  //expected-error...
void* operator new(size_t bytes) &&;  //expected-error...

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"good first issuehttps://github.com/llvm/llvm-project/contributetest-suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions