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
Type
Projects
Status