v/cmd/tools/vdoc/testdata/run_examples_bad/main.comments.out

5 lines
218 B
Text

module main
fn abc()
abc just prints 'xyz'. The important thing however is the next line, that does an assertion, that should FAIL to be executed with `v doc -run-examples good.v`:
Example: assert 5 * 5 == 77