summaryrefslogtreecommitdiff
path: root/test/files/run/weakconform.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2010-07-19 13:55:09 +0000
committerMartin Odersky <odersky@gmail.com>2010-07-19 13:55:09 +0000
commita6bb10a310b2d10cfd2713b9d8ca5c21af73902d (patch)
tree7a9ac52d1ce9d9cd19b5200bd9ee3aacbf269cb2 /test/files/run/weakconform.scala
parent5c9400467b802dfb7102f2de507bb3c0c4193c22 (diff)
downloadscala-a6bb10a310b2d10cfd2713b9d8ca5c21af73902d.tar.gz
scala-a6bb10a310b2d10cfd2713b9d8ca5c21af73902d.tar.bz2
scala-a6bb10a310b2d10cfd2713b9d8ca5c21af73902d.zip
new test files.
Diffstat (limited to 'test/files/run/weakconform.scala')
-rwxr-xr-xtest/files/run/weakconform.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/weakconform.scala b/test/files/run/weakconform.scala
new file mode 100755
index 0000000000..1ea81c9f64
--- /dev/null
+++ b/test/files/run/weakconform.scala
@@ -0,0 +1,4 @@
+object Test extends Application {
+ val x: Float = 10/3
+ assert(x == 3.0)
+}