about summary refs log tree commit diff
path: root/third_party/nix/src/tests/lang/eval-okay-nested-with.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/tests/lang/eval-okay-nested-with.nix')
-rw-r--r--third_party/nix/src/tests/lang/eval-okay-nested-with.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/nix/src/tests/lang/eval-okay-nested-with.nix b/third_party/nix/src/tests/lang/eval-okay-nested-with.nix
new file mode 100644
index 000000000000..ba9d79aa79b1
--- /dev/null
+++ b/third_party/nix/src/tests/lang/eval-okay-nested-with.nix
@@ -0,0 +1,3 @@
+with { x = 1; };
+with { x = 2; };
+x