Language
C++
Compiler
clang HEAD 9.0.0 (https://github.com/llvm-mirror/clang.git fd40bdf2995aef31cc236544c00aa41b3b7e04d9) (https://github.com/llvm-mirror/llvm.git 594d5b198e4b881dae6cc99c997ac3c87fd54fb9)
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:18:17: runtime error: load of value 4, which is not a valid value for type 'enum A'
4
Exit Code:
0