diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-07-10 17:35:00 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-07-10 17:35:00 +0000 |
commit | 2b4b0658fa3f959f3b25dc75a3aa0a9814e63962 (patch) | |
tree | 799d5a845e50164ace904f8e5bd3dbb1df4079d8 /tests/lang/parse-fail-regression-20060610.nix | |
parent | d51aede4afeb49182879f257b56394b70938028f (diff) |
* This expression has an undefined variable which isn't detected, so
evaluation fails:
error: impossible: undefined variable `gcc'
Diffstat (limited to 'tests/lang/parse-fail-regression-20060610.nix')
-rw-r--r-- | tests/lang/parse-fail-regression-20060610.nix | 11 |
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; +} |