Language
C++
Compiler
clang HEAD 8.0.0 (https://github.com/llvm-mirror/clang.git 5e8d6f98ab8ae500b0d731dd0aee638d97583401) (https://github.com/llvm-mirror/llvm.git 0e4afbdc918a83e4ac29ddeae671d8367ef0aa6d)
Options
Warnings
Boost 1.68.0
C++2a
no pedantic
Raw compiler options
-fsanitize=undefined
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/clang-head/include -std=c++2a -fsanitize=undefined
prog.cc:22:17: runtime error: load of value 4, which is not a valid value for type 'A'
3
4
2147483647
Exit Code:
0