diff options
Diffstat (limited to 'tests/functional/lang/eval-okay-scope-4.nix')
-rw-r--r-- | tests/functional/lang/eval-okay-scope-4.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-okay-scope-4.nix b/tests/functional/lang/eval-okay-scope-4.nix new file mode 100644 index 000000000..dc8243bc8 --- /dev/null +++ b/tests/functional/lang/eval-okay-scope-4.nix @@ -0,0 +1,10 @@ +let { + + x = "a"; + y = "b"; + + f = {x ? y, y ? x}: x + y; + + body = f {x = "c";} + f {y = "d";}; + +} |