test(metatype): self-reference regression example (recursive *List enum)

examples/0618 mints a recursive `List` enum (`cons: *List; nil`) via
declare("List")/define, builds a 3-node list, matches the pointer payload
directly and via deref, and counts it recursively. Locks the self-reference
capability. Full suite green (674).
This commit is contained in:
agra
2026-06-16 22:07:02 +03:00
parent 7a9db03bcc
commit 2a9ffd25a8
4 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,2 @@
c -> cons
len = 2