-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Labels
accepts-invalidbugzillaIssues migrated from bugzillaIssues migrated from bugzillac++20clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partyVerified by a second partyconstexprAnything related to constant evaluationAnything related to constant evaluation
Description
| Bugzilla Link | 49321 |
| Version | trunk |
| OS | All |
| CC | @randomnetcat,@zygoloid |
Extended Description
I think this UB should be rejected.
constexpr bool foo(int* i) {
int& j = *i;
return true;
}
static_assert(foo(nullptr));Metadata
Metadata
Assignees
Labels
accepts-invalidbugzillaIssues migrated from bugzillaIssues migrated from bugzillac++20clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partyVerified by a second partyconstexprAnything related to constant evaluationAnything related to constant evaluation
Type
Projects
Status
Done