aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-okay-new-let.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-okay-new-let.nix')
-rw-r--r--test/testdata/eval-okay-new-let.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-new-let.nix b/test/testdata/eval-okay-new-let.nix
new file mode 100644
index 0000000..7381231
--- /dev/null
+++ b/test/testdata/eval-okay-new-let.nix
@@ -0,0 +1,14 @@
1let
2
3 f = z:
4
5 let
6 x = "foo";
7 y = "bar";
8 body = 1; # compat test
9 in
10 z + x + y;
11
12 arg = "xyzzy";
13
14in f arg