about summary refs log tree commit diff
path: root/third_party/nix/tests/lang/parse-fail-dup-attrs-7.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/tests/lang/parse-fail-dup-attrs-7.nix')
-rw-r--r--third_party/nix/tests/lang/parse-fail-dup-attrs-7.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/nix/tests/lang/parse-fail-dup-attrs-7.nix b/third_party/nix/tests/lang/parse-fail-dup-attrs-7.nix
new file mode 100644
index 000000000000..bbc3eb08c0f6
--- /dev/null
+++ b/third_party/nix/tests/lang/parse-fail-dup-attrs-7.nix
@@ -0,0 +1,9 @@
+rec {
+
+  x = 1;
+
+  as = {
+    inherit x;
+    inherit x;
+  };
+}
\ No newline at end of file