aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-okay-scope-6.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-okay-scope-6.nix')
-rw-r--r--test/testdata/eval-okay-scope-6.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-scope-6.nix b/test/testdata/eval-okay-scope-6.nix
new file mode 100644
index 0000000..0995d4e
--- /dev/null
+++ b/test/testdata/eval-okay-scope-6.nix
@@ -0,0 +1,7 @@
1let {
2
3 f = {x ? y, y ? x}: x + y;
4
5 body = f {x = "c";} + f {y = "d";};
6
7}