Language
C++
Compiler
gcc HEAD 9.0.0 20180722 (experimental)
Options
Warnings
Boost 1.67.0
C++2a(GNU)
no pedantic
Raw compiler options
-fsanitize=float-divide-by-zero
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.67.0/gcc-head/include -std=gnu++2a -fsanitize=float-divide-by-zero
prog.cc:6:18: runtime error: division by zero
inf
prog.cc:7:18: runtime error: division by zero
inf
Exit Code:
0