Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options

Author

anonymous

over 7 years ago

$
prog.cc: In function 'int main()':
prog.cc:3:7: error: invalid operands of types 'int' and 'std::nullptr_t' to binary 'operator+'
     0 + nullptr;
     ~~^~~~~~~~~
prog.cc:4:13: error: invalid operands of types 'std::nullptr_t' and 'std::nullptr_t' to binary 'operator-'
     nullptr - nullptr;
     ~~~~~~~~^~~~~~~~~
Exit Code:
1