summaryrefslogtreecommitdiff
path: root/tnslc/dummy.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-12-03 03:37:43 -0500
committerKyle Gunger <kgunger12@gmail.com>2022-12-03 03:37:43 -0500
commit0370e7c22a193eca2a2aa71bf5a46db5749a9d0d (patch)
tree53b575b38900940c6c170ee97bb22a1847d083a1 /tnslc/dummy.tnsl
parenteda272dc91a651f9b923b45efdde4e0bf71dc7bb (diff)
Add initial struct offset calculation
Diffstat (limited to 'tnslc/dummy.tnsl')
-rw-r--r--tnslc/dummy.tnsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tnslc/dummy.tnsl b/tnslc/dummy.tnsl
index bd28c70..c806022 100644
--- a/tnslc/dummy.tnsl
+++ b/tnslc/dummy.tnsl
@@ -1,3 +1,7 @@
+;struct test {
+ int i, j, k, l
+}
+
/; _alloc (uint bytes) [~void]
;asm "mov %rax, %rdi"
;asm "mov $0, %r10"