Language
C++
Compiler
clang HEAD 8.0.0 (https://github.com/llvm-mirror/clang.git 3a0edf1ccbe2869fb92e8cda66da6207c80f3c36) (https://github.com/llvm-mirror/llvm.git d5247393d7ef7cf0b7d348e201d08b1b3bf036e7)
Options
Warnings
Boost 1.68.0
C++2a(GNU)
no pedantic
Raw compiler options
-fsanitize=undefined
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/clang-head/include -std=gnu++2a -fsanitize=undefinedprog.cc:15:6: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
-4
Exit Code:
0