diff options
Diffstat (limited to 'third_party/nix/src/tests/lang/eval-okay-new-let.nix')
-rw-r--r-- | third_party/nix/src/tests/lang/eval-okay-new-let.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/nix/src/tests/lang/eval-okay-new-let.nix b/third_party/nix/src/tests/lang/eval-okay-new-let.nix new file mode 100644 index 000000000000..738123141508 --- /dev/null +++ b/third_party/nix/src/tests/lang/eval-okay-new-let.nix @@ -0,0 +1,14 @@ +let + + f = z: + + let + x = "foo"; + y = "bar"; + body = 1; # compat test + in + z + x + y; + + arg = "xyzzy"; + +in f arg |