summaryrefslogtreecommitdiff
path: root/tests/literal-test.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-12-03 18:25:03 -0500
committerKyle Gunger <kgunger12@gmail.com>2021-12-03 18:25:03 -0500
commit1100ac865074effb3a4735c7449779f7193b7d0c (patch)
tree1a981ae33b1ba4a888c98640fed0e7fc74b18f57 /tests/literal-test.tnsl
parent8fd930180e5d7a610117299bb9c48e28409d3106 (diff)
General updates
+ Fill out eval a little and make sure that this builds. ~ CF kinda broken in AST. Gonna have to fix that. Upcoming Parser update.
Diffstat (limited to 'tests/literal-test.tnsl')
-rw-r--r--tests/literal-test.tnsl10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/literal-test.tnsl b/tests/literal-test.tnsl
index 73f5f77..6e55323 100644
--- a/tests/literal-test.tnsl
+++ b/tests/literal-test.tnsl
@@ -28,17 +28,19 @@
# Invalid (some may be weeded out through the verify phase):
-;string s ""
+#;string s ""
-;int 0 i
+#;int 0 i
# Invalid ops should also be detected if dealing with literals
-;char c ~= 's'
+#;char c ~= 's'
# Debate over weather these are legal
-;int k = .1
+#;int k = .1
;int l = 0x01
+;int i
+;a a;