From 644a06a5b13b5a129528618050a9dff4f5281be8 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Tue, 12 Mar 2024 00:23:28 -0400 Subject: update tests --- tests/test_funcall_4.tnsl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/test_funcall_4.tnsl (limited to 'tests/test_funcall_4.tnsl') diff --git a/tests/test_funcall_4.tnsl b/tests/test_funcall_4.tnsl new file mode 100644 index 0000000..4309766 --- /dev/null +++ b/tests/test_funcall_4.tnsl @@ -0,0 +1,16 @@ +struct Dummy { + int i, j +} + +/; inout (Dummy in) [Dummy] + in.i = 68 + return in +;/ + +/; main [int] + Dummy a + a.i = 1 + a.j = 1 + a = inout(a) + return a.i + a.j +;/ -- cgit v1.2.3