diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-03-12 00:23:28 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-03-12 00:23:28 -0400 |
commit | 644a06a5b13b5a129528618050a9dff4f5281be8 (patch) | |
tree | 31bf53b6b2555940965abad59346ea8ec6817a1e /tests/test_pointer.tnsl | |
parent | 6ff62d5fe2aebc78b3bc2930c7318d6ce288b61b (diff) |
update tests
Diffstat (limited to 'tests/test_pointer.tnsl')
-rw-r--r-- | tests/test_pointer.tnsl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/test_pointer.tnsl b/tests/test_pointer.tnsl index 5fe1a36..1b264b4 100644 --- a/tests/test_pointer.tnsl +++ b/tests/test_pointer.tnsl @@ -1,6 +1,11 @@ +struct Dummy { + int i, j +} + /; main [int] - int i = 0 - ~int j = ~i + Dummy i + i.i = 0 + ~int j = ~i.i j` = 69 - return i + return i.i ;/ |