Add tuple assign test

This commit is contained in:
imaqtkatt 2024-07-22 10:41:03 -03:00
parent 8d9f6da2b4
commit 61af9c1102
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
def main:
first, second = 1, (2, 3)
return second

View File

@ -0,0 +1,5 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/parse_file/tuple_assign.bend
---
(main) = let (first, second) = (1, (2, 3)); second