diff options
author | Paul Phillips <paulp@improving.org> | 2012-09-27 09:22:15 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-09-27 09:24:10 -0700 |
commit | 75ffc821f711ecd4cad67cd13911f8e69952396f (patch) | |
tree | 458d1733e57f9e2c9d6579afa1432686fd3222cb /test/files/pos/t1107b/O.scala | |
parent | 96d4a8646b1962fac2f2fc443b56c6619221b43c (diff) | |
download | scala-75ffc821f711ecd4cad67cd13911f8e69952396f.tar.gz scala-75ffc821f711ecd4cad67cd13911f8e69952396f.tar.bz2 scala-75ffc821f711ecd4cad67cd13911f8e69952396f.zip |
Moved two tests to less breaky locations.
When there is a test called pos/t1107.scala and also a test
called pos/t1107, it is bad.
Diffstat (limited to 'test/files/pos/t1107b/O.scala')
-rw-r--r-- | test/files/pos/t1107b/O.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/t1107b/O.scala b/test/files/pos/t1107b/O.scala new file mode 100644 index 0000000000..aa605a6d09 --- /dev/null +++ b/test/files/pos/t1107b/O.scala @@ -0,0 +1,13 @@ +object O +{ + def d(t: Top) = t match { + case s: Sub => true + case _ => false + } + + def main(args: Array[String]): Unit = { + val c = new AnyRef with C + + c.bob.toString + c.bob2.toString + } +} |