aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-okay-unsafeGetAttrPos.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/eval-okay-unsafeGetAttrPos.nix')
-rw-r--r--tests/functional/lang/eval-okay-unsafeGetAttrPos.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-okay-unsafeGetAttrPos.nix b/tests/functional/lang/eval-okay-unsafeGetAttrPos.nix
new file mode 100644
index 000000000..6d2cb86a6
--- /dev/null
+++ b/tests/functional/lang/eval-okay-unsafeGetAttrPos.nix
@@ -0,0 +1,4 @@
+let
+ pos = builtins.unsafeGetAttrPos "y" (import ./eval-okay-unsafeGetAttrPos.imported-nix);
+in
+pos