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

5 lines
230 B
Text

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