aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-dup-dynamic-attrs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/eval-fail-dup-dynamic-attrs.nix')
-rw-r--r--tests/functional/lang/eval-fail-dup-dynamic-attrs.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-dup-dynamic-attrs.nix b/tests/functional/lang/eval-fail-dup-dynamic-attrs.nix
new file mode 100644
index 000000000..7ea17f6c8
--- /dev/null
+++ b/tests/functional/lang/eval-fail-dup-dynamic-attrs.nix
@@ -0,0 +1,4 @@
+{
+ set = { "${"" + "b"}" = 1; };
+ set = { "${"b" + ""}" = 2; };
+}