From 5e117c505a8a371af600409b0f7d5f61b6969a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Mon, 11 Jan 2021 13:17:06 +0100 Subject: variable tests --- tests/variables.tdy | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/variables.tdy (limited to 'tests') diff --git a/tests/variables.tdy b/tests/variables.tdy new file mode 100644 index 0000000..62b30d2 --- /dev/null +++ b/tests/variables.tdy @@ -0,0 +1,17 @@ +// a variable +a int := 1 +a <=> 1 + +// another variable +b int := 2 +b <=> 2 + +// assignment +a = b +a <=> 2 + +// ordering +c int := 3 +d int := 4 +c <=> 3 +d <=> 4 -- cgit v1.2.1