summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/test.tnsl')
-rw-r--r--tnslc/test.tnsl12
1 files changed, 10 insertions, 2 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl
index b274dfd..7e5112a 100644
--- a/tnslc/test.tnsl
+++ b/tnslc/test.tnsl
@@ -6,8 +6,8 @@ struct ARRAY_TEST {
{}PTR_TEST dat
}
-enum ENUM_TEST [{}int] {
- A = {2, 3, 4, 5, 623459},
+enum ENUM_TEST [{}uint8] {
+ A = "nizsdd",
B = {1, 2}
}
@@ -16,6 +16,14 @@ enum EN_ARR [PTR_TEST] {
B = {3, 4}
}
+struct A {
+ B nxta
+}
+
+struct B {
+ ~A dat
+}
+
/; main [int]
return EN_ARR.A.dat
;/ \ No newline at end of file