summaryrefslogtreecommitdiff
path: root/test/asset/run/callstack.et
blob: 9e8123bac7aebe0ce4afab15fc0be7b9bc931c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
test AG:
    let x = 1
    guard (x == 0)

test AE:
    spawn as p
    let x = 2
    expect /$x/ from p timeout 0.0

def fg:
    let x = 1
    guard (x == 0)

test BG:
    fg

def gg (x):
    let y = 2
    guard (x == y)

test CG:
    let z = 3
    gg (z)