Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

clang HEAD 10.0.0 (https://github.com/llvm-mirror/clang.git 3441aaff8506ac0252f9bba9d1ce117cf35906ce) (https://github.com/llvm-mirror/llvm.git ae7ce179222e4d642717fbf814ef60ffb12bb3c1)

Options
Warnings
Don't Use Boost
C++2a(GNU)
no pedantic
Raw compiler options
-fsanitize=undefined

Author

anonymous

about 6 years ago

$ clang++ prog.cc -Wall -Wextra -std=gnu++2a -fsanitize=undefined
prog.cc:5:12: runtime error: signed integer overflow: 10 + 2147483647 cannot be represented in type 'int'
Exit Code:
0