diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-01-11 13:17:06 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-01-11 13:17:06 +0100 |
| commit | 5e117c505a8a371af600409b0f7d5f61b6969a85 (patch) | |
| tree | 07a37136972b3f926152fef4a65b16ad5bafc081 /tests | |
| parent | e89a65fe2ea7911fa20502818e0af6d702d68be8 (diff) | |
| download | sylt-5e117c505a8a371af600409b0f7d5f61b6969a85.tar.gz | |
variable tests
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/variables.tdy | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
