diff options
Diffstat (limited to 'tests/test_struct_2.tnsl')
-rw-r--r-- | tests/test_struct_2.tnsl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test_struct_2.tnsl b/tests/test_struct_2.tnsl new file mode 100644 index 0000000..2577959 --- /dev/null +++ b/tests/test_struct_2.tnsl @@ -0,0 +1,13 @@ +struct Rec { + ~Rec r, + int i +} + +/; main [int] + + Rec a, b + a.i = 1 + a.r = ~b + a.r`.i = 69 + return b.i +;/ |