https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93668
--- Comment #1 from fdlbxtqi <euloanty at live dot com> ---
constexpr int f()
{
auto p(new int[10000]);
delete p;
return 4;
}
int main()
{
constexpr auto w(f());
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93668
--- Comment #1 from fdlbxtqi <euloanty at live dot com> ---
constexpr int f()
{
auto p(new int[10000]);
delete p;
return 4;
}
int main()
{
constexpr auto w(f());
}