summaryrefslogtreecommitdiff
path: root/tests/test_struct.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_struct.tnsl')
-rw-r--r--tests/test_struct.tnsl14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test_struct.tnsl b/tests/test_struct.tnsl
new file mode 100644
index 0000000..59a4b78
--- /dev/null
+++ b/tests/test_struct.tnsl
@@ -0,0 +1,14 @@
+struct Vector {
+ ~void data,
+ int
+ size,
+ count,
+ _el_sz
+}
+
+/; main [int]
+ Vector a
+ a.size = 69
+ return a.size
+;/
+