diff options
Diffstat (limited to 'tests/variables.tdy')
| -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 |
