diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_len.tnsl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/test_len.tnsl b/tests/test_len.tnsl new file mode 100644 index 0000000..a23b4df --- /dev/null +++ b/tests/test_len.tnsl @@ -0,0 +1,20 @@ +struct A { + int i, j, k, l +} + +struct B { + uint a, b, c, d +} + +struct C { + bool x, + uint32 y +} + +/; main [int] + A a + B b + C c + return len a + len b + len c +;/ + |