c63640cef1
- Functions being optimized: making functions having side-effects to prevent optimizations to remove the calls. - UB (divide by zero) is compiler implementation specific and does not raise an exception on CLANG, rewrite the test to serve the purpose of the boost.test macro.
8 lines
305 B
Plaintext
8 lines
305 B
Plaintext
//[example_output
|
|
> example
|
|
Running 1 test case...
|
|
unknown location(0): fatal error: in "test_external_interface": std::runtime_error: Undefined Behaviour ahead!
|
|
../doc/examples/example22.run-fail.cpp(17): last checkpoint: Calling 'foo' with i=1
|
|
|
|
*** 1 failure is detected in the test module "example"
|
|
//] |