summaryrefslogtreecommitdiff
path: root/test/asset
diff options
context:
space:
mode:
Diffstat (limited to 'test/asset')
-rw-r--r--test/asset/run/callstack.et15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/asset/run/callstack.et b/test/asset/run/callstack.et
index f500fb6..9e8123b 100644
--- a/test/asset/run/callstack.et
+++ b/test/asset/run/callstack.et
@@ -6,3 +6,18 @@ 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)