aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/lang/parse-fail-regression-20060610.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/lang/parse-fail-regression-20060610.nix b/tests/lang/parse-fail-regression-20060610.nix
new file mode 100644
index 000000000..b1934f7e1
--- /dev/null
+++ b/tests/lang/parse-fail-regression-20060610.nix
@@ -0,0 +1,11 @@
+let {
+ x =
+ {gcc}:
+ {
+ inherit gcc;
+ };
+
+ body = ({
+ inherit gcc;
+ }).gcc;
+}