about summary refs log tree commit diff
path: root/tests/lang/eval-okay-let.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/eval-okay-let.nix')
-rw-r--r--tests/lang/eval-okay-let.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-let.nix b/tests/lang/eval-okay-let.nix
new file mode 100644
index 000000000000..fe118c5282e3
--- /dev/null
+++ b/tests/lang/eval-okay-let.nix
@@ -0,0 +1,5 @@
+let {
+  x = "foo";
+  y = "bar";
+  body = x + y;
+}