| 1 | // abc just prints 'xyz'. The important thing however is the next line, that does an assertion, |
| 2 | // that should FAIL to be executed with `v doc -unsafe-run-examples main.v`, and should compile with -check-examples: |
| 3 | // Example: assert 5 * 5 == 77 |
| 4 | pub fn abc() { |
| 5 | println('xyz') |
| 6 | } |
| 7 | |
| 8 | fn main() { |
| 9 | abc() |
| 10 | } |
| 11 |