summaryrefslogtreecommitdiff
path: root/test/destructuretup.myr
blob: a6da2b49b0b3a3271f0aadbae9c59f3e0ba0c512 (plain)
1
2
3
4
5
6
7
use std

const main = {
    var a,b
    ((a, b), _) = ((1, 2), 3)
    std.assert(a+b == 3, "fail\n")
}