aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-okay-scope-1.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/eval-okay-scope-1.nix')
-rw-r--r--tests/functional/lang/eval-okay-scope-1.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-okay-scope-1.nix b/tests/functional/lang/eval-okay-scope-1.nix
new file mode 100644
index 000000000..fa38a7174
--- /dev/null
+++ b/tests/functional/lang/eval-okay-scope-1.nix
@@ -0,0 +1,6 @@
+(({x}: x:
+
+ { x = 1;
+ y = x;
+ }
+) {x = 2;} 3).y