mishandling of cv-qualification dropping in covariant return types #18233
Labels
bugzilla
Issues migrated from bugzilla
c++
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
Extended Description
Clang accepts this ill-formed code:
Per 10.3/7, a covariant return type can only drop a cv-qualifier if it is a pointer or reference to class type.
The text was updated successfully, but these errors were encountered: