keep the worked example honest

Encapsulation.org's example was written before any of it was built
and still called methods the way the first draft did. It compiles
now, so it lives here as well, and the doc's block and this file are
the same text.
This commit is contained in:
2026-10-04 13:25:17 +03:00
parent 6181a6c8d4
commit 737864dadc
2 changed files with 47 additions and 1 deletions

View File

@@ -117,7 +117,8 @@ SEX_TEST_PROGRAMS = c99 \
type-shapes \
unicode \
unnamed-params \
wildcards
wildcards \
worked-example
# Multi-module linking is checked end to end; see tests/modules/Makefile.
check-modules: sexc