diff options
Diffstat (limited to 'third_party/nix/src/tests/lang/eval-fail-remove.nix')
-rw-r--r-- | third_party/nix/src/tests/lang/eval-fail-remove.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/nix/src/tests/lang/eval-fail-remove.nix b/third_party/nix/src/tests/lang/eval-fail-remove.nix new file mode 100644 index 000000000000..539e0eb0a6f6 --- /dev/null +++ b/third_party/nix/src/tests/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 |