aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorTohava <tohava@tohava-laptop.(none)>2010-08-05 04:19:46 +0300
committerTohava <tohava@tohava-laptop.(none)>2010-08-05 04:19:46 +0300
commitce79b0e492f1583debbce3c8155da3536c684d9a (patch)
treef5a2a22230510dd14901742a4904c576f62a8500 /src/test
parentAdded AST logging, and modified AST for consistent handling of alt stmts. (diff)
parentThread argument-types down to internal_check_outer_lval in type.ml, in prepar... (diff)
downloadrust-ce79b0e492f1583debbce3c8155da3536c684d9a.tar.xz
rust-ce79b0e492f1583debbce3c8155da3536c684d9a.zip
Merge branch 'master' of git://github.com/graydon/rust
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/operator-associativity.rs4
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);
+}