aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/repl_characterization/data/stack_vars.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/repl_characterization/data/stack_vars.nix')
-rw-r--r--tests/functional/repl_characterization/data/stack_vars.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/repl_characterization/data/stack_vars.nix b/tests/functional/repl_characterization/data/stack_vars.nix
new file mode 100644
index 000000000..1476bc251
--- /dev/null
+++ b/tests/functional/repl_characterization/data/stack_vars.nix
@@ -0,0 +1,9 @@
+let
+ a = builtins.trace "before inner break" (
+ let meow' = 3; in builtins.break { msg = "hello"; }
+ );
+ b = builtins.trace "before outer break" (
+ let meow = 2; in builtins.break a
+ );
+in
+ b