diff options
| author | Graydon Hoare <[email protected]> | 2010-08-04 13:44:09 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-08-04 13:44:22 -0700 |
| commit | 815424c2ec96f461ea10a91d9955071271c5c64f (patch) | |
| tree | 84f25ec0a71efc717392364513179db64a0db301 /src/test | |
| parent | Add a buffered writer to stdlib _io module. (diff) | |
| download | rust-815424c2ec96f461ea10a91d9955071271c5c64f.tar.xz rust-815424c2ec96f461ea10a91d9955071271c5c64f.zip | |
Fix pexp parser to do left-associativity, not right. Closes #130.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/operator-associativity.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/run-pass/operator-associativity.rs b/src/test/run-pass/operator-associativity.rs new file mode 100644 index 00000000..2c028eba --- /dev/null +++ b/src/test/run-pass/operator-associativity.rs @@ -0,0 +1,4 @@ +// Testcase for issue #130, operator associativity. +fn main() -> () { + check ((3 * 5 / 2) == 7); +} |