diff options
Diffstat (limited to 'third_party/nix/tests/lang/eval-okay-scope-4.nix')
-rw-r--r-- | third_party/nix/tests/lang/eval-okay-scope-4.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/nix/tests/lang/eval-okay-scope-4.nix b/third_party/nix/tests/lang/eval-okay-scope-4.nix new file mode 100644 index 000000000000..dc8243bc8546 --- /dev/null +++ b/third_party/nix/tests/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";}; + +} |