diff options
Diffstat (limited to 'tests/accept/run/tvartup.nim')
-rwxr-xr-x | tests/accept/run/tvartup.nim | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/accept/run/tvartup.nim b/tests/accept/run/tvartup.nim deleted file mode 100755 index 05b00b207..000000000 --- a/tests/accept/run/tvartup.nim +++ /dev/null @@ -1,11 +0,0 @@ -# Test the new tuple unpacking - -proc divmod(a, b: int): tuple[di, mo: int] = - return (a div b, a mod b) - -var (x, y) = divmod(15, 6) -stdout.write(x) -stdout.write(" ") -stdout.write(y) - -#OUT 2 3 |