Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
7 lines
175 B
C++
7 lines
175 B
C++
#include <new>
|
|
|
|
int main() {
|
|
struct alignas(__STDCPP_DEFAULT_NEW_ALIGNMENT__ * 4) S {};
|
|
(void) ::operator new(sizeof(S), static_cast<std::align_val_t>(alignof(S)));
|
|
}
|