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