aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-remove.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/eval-fail-remove.nix')
-rw-r--r--tests/functional/lang/eval-fail-remove.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-remove.nix b/tests/functional/lang/eval-fail-remove.nix
new file mode 100644
index 000000000..539e0eb0a
--- /dev/null
+++ b/tests/functional/lang/eval-fail-remove.nix
@@ -0,0 +1,5 @@
+let {
+ attrs = {x = 123; y = 456;};
+
+ body = (removeAttrs attrs ["x"]).x;
+} \ No newline at end of file