aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-okay-attrs4.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/eval-okay-attrs4.nix')
-rw-r--r--tests/functional/lang/eval-okay-attrs4.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-okay-attrs4.nix b/tests/functional/lang/eval-okay-attrs4.nix
new file mode 100644
index 000000000..43ec81210
--- /dev/null
+++ b/tests/functional/lang/eval-okay-attrs4.nix
@@ -0,0 +1,7 @@
+let
+
+ as = { x.y.z = 123; a.b.c = 456; };
+
+ bs = null;
+
+in [ (as ? x) (as ? y) (as ? x.y.z) (as ? x.y.z.a) (as ? x.y.a) (as ? a.b.c) (bs ? x) (bs ? x.y.z) ]