aboutsummaryrefslogtreecommitdiff
path: root/tests/lang
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-04-23 08:43:54 -0400
committerShea Levy <shea@shealevy.com>2018-04-23 08:43:54 -0400
commite2b028353b198d1590ee14101dbb74cd2a4c5730 (patch)
tree49efda1c90f82f5bf3a0cbd575e6bd63e5e78446 /tests/lang
parent0aae411eaa0588553af54cc096baefd6e9cacb51 (diff)
parentaf86132e1afa65b4b466af3ea9c7084836c91ee0 (diff)
Merge branch 'pos-crash-fix' of git://github.com/dezgeg/nix
Diffstat (limited to 'tests/lang')
-rw-r--r--tests/lang/eval-okay-getattrpos-undefined.exp1
-rw-r--r--tests/lang/eval-okay-getattrpos-undefined.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-getattrpos-undefined.exp b/tests/lang/eval-okay-getattrpos-undefined.exp
new file mode 100644
index 000000000..19765bd50
--- /dev/null
+++ b/tests/lang/eval-okay-getattrpos-undefined.exp
@@ -0,0 +1 @@
+null
diff --git a/tests/lang/eval-okay-getattrpos-undefined.nix b/tests/lang/eval-okay-getattrpos-undefined.nix
new file mode 100644
index 000000000..14dd38f77
--- /dev/null
+++ b/tests/lang/eval-okay-getattrpos-undefined.nix
@@ -0,0 +1 @@
+builtins.unsafeGetAttrPos "abort" builtins