about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/parse-fail-regression-20060610.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/tests/nix_tests/parse-fail-regression-20060610.nix')
-rw-r--r--tvix/eval/src/tests/nix_tests/parse-fail-regression-20060610.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/nix_tests/parse-fail-regression-20060610.nix b/tvix/eval/src/tests/nix_tests/parse-fail-regression-20060610.nix
new file mode 100644
index 000000000000..b1934f7e1e82
--- /dev/null
+++ b/tvix/eval/src/tests/nix_tests/parse-fail-regression-20060610.nix
@@ -0,0 +1,11 @@
+let {
+  x =
+    {gcc}:
+    {
+      inherit gcc;
+    };
+
+  body = ({
+    inherit gcc;
+  }).gcc;
+}