diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-23 14:26:27 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-23 14:26:27 +0000 |
commit | 3bfd3a4e9511e16d8a826cb271fc95acc2fb9845 (patch) | |
tree | 7392b86e17243ce399427c6d8d33049bdf6b8c64 | |
parent | 141294ff38fb3623ae24c2d47cf0c3180cc363d3 (diff) |
* Test "with as; with bs;" since nobody knows what its semantics is.
-rw-r--r-- | tests/lang/eval-okay-with.exp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/tests/lang/eval-okay-with.exp b/tests/lang/eval-okay-with.exp index 31e24293b..033e8d3ab 100644 --- a/tests/lang/eval-okay-with.exp +++ b/tests/lang/eval-okay-with.exp @@ -1 +1,19 @@ -Str("xyzzybar",[]) +let { + + a = "xyzzy"; + + as = { + a = "foo"; + b = "bar"; + }; + + bs = { + a = "bar"; + }; + + x = with as; a + b; + + y = with as; with bs; a + b; + + body = x + y; +} |