diff options
| author | 2026-10-14 09:33:46 +0000 | |
|---|---|---|
| committer | 2026-10-14 09:33:46 +0000 | |
| commit | 04a92de49a40f4d3e58b39d3ad4549184afbeebc (patch) | |
| tree | e37da74b5ccec23c6792a1c2eb230812ee42c307 /tests/test.sh | |
| parent | Merge std library docs (diff) | |
| parent | constants inside structs, and typo suggestions for fields and static members (diff) | |
Merge branch 'worktree-agent-a96a10dc1489688ea' into ccr-0054c02e-dfdvnd
Diffstat (limited to 'tests/test.sh')
| -rwxr-xr-x | tests/test.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test.sh b/tests/test.sh index 46625a6..7ae7b9d 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -123,6 +123,7 @@ run(){ # $1 = vm command, $2 = label chk "$($vm < tests/programs/generics.zc | md5sum)" "$(md5sum < tests/programs/generics.expected)" "$l generic functions are compiled per type arguments" chk "$($vm < tests/programs/genmeth.zc | md5sum)" "$(md5sum < tests/programs/genmeth.expected)" "$l methods of generic structs are compiled per type arguments" chk "$($vm < tests/programs/static.zc)" "14 5 9" "$l static functions of a struct are called as Struct.name(args)" + chk "$($vm < tests/programs/struct_const.zc)" "24 49 24 23 19 55 12 99" "$l constants declared in a struct are reached as Struct.NAME, and by bare name in its methods" chk "$($vm < tests/programs/methodown.zc)" "7 9" "$l struct methods and functions return owned objects (.u)" chk "$($vm < tests/programs/typedmethods.zc)" "14 5 13" "$l struct methods declare a return type and typed parameters" chk "$($vm < tests/programs/enumscope.zc)" "0 5 6 blue" "$l enum members are reached as Enum.MEMBER, also in a case" |
