Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 7 years ago

Language

C++

Compiler

gcc HEAD 9.0.0 20180828 (experimental)

Options
Warnings
Don't Use Boost
C++2a(GNU)
no pedantic

Author

anonymous

almost 7 years ago

$ g++ prog.cc -Wall -Wextra -std=gnu++2a
operator new Test->x = 1
operator new Test->x = 1
a->x = 0
b->x = 1
Exit Code:
0