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