summaryrefslogtreecommitdiff
path: root/test/pending/pos/bug402.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2006-10-30 17:29:19 +0000
committerMartin Odersky <odersky@gmail.com>2006-10-30 17:29:19 +0000
commit7ebc41cda22ee26d4242e305782a14f7e6bf63aa (patch)
tree2ead03fe1fae2466677cdcddcbb5ac2e7c4778ed /test/pending/pos/bug402.scala
parent640ecf38b7125ff0d2c926a9a634593640cd95b1 (diff)
downloadscala-7ebc41cda22ee26d4242e305782a14f7e6bf63aa.tar.gz
scala-7ebc41cda22ee26d4242e305782a14f7e6bf63aa.tar.bz2
scala-7ebc41cda22ee26d4242e305782a14f7e6bf63aa.zip
fixed bugs 54, 415
Improved avoidance of MalformedType's
Diffstat (limited to 'test/pending/pos/bug402.scala')
-rw-r--r--test/pending/pos/bug402.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pending/pos/bug402.scala b/test/pending/pos/bug402.scala
new file mode 100644
index 0000000000..a5a3df4825
--- /dev/null
+++ b/test/pending/pos/bug402.scala
@@ -0,0 +1,7 @@
+object Main {
+ def main(args: Array[String]): Unit = {
+ val x: Any = 2
+ System.out.println((0.5).isInstanceOf[Int]);
+ System.out.println(x.isInstanceOf[Int]);
+ }
+}