summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/test.tnsl')
-rw-r--r--tnslc/test.tnsl21
1 files changed, 21 insertions, 0 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl
new file mode 100644
index 0000000..b274dfd
--- /dev/null
+++ b/tnslc/test.tnsl
@@ -0,0 +1,21 @@
+struct PTR_TEST {
+ int dat, in
+}
+
+struct ARRAY_TEST {
+ {}PTR_TEST dat
+}
+
+enum ENUM_TEST [{}int] {
+ A = {2, 3, 4, 5, 623459},
+ B = {1, 2}
+}
+
+enum EN_ARR [PTR_TEST] {
+ A = {1, 2},
+ B = {3, 4}
+}
+
+/; main [int]
+ return EN_ARR.A.dat
+;/ \ No newline at end of file