summaryrefslogtreecommitdiff
path: root/test/files/neg/t7605-deprecation.scala
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2013-11-17 18:29:42 -0800
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-11-17 18:29:42 -0800
commit4a225596a1bf3d6ecb358dca5aae884b82883090 (patch)
tree43a391235cd201b17d5fc37d9e7c7bc487d074f4 /test/files/neg/t7605-deprecation.scala
parenta1da835da62114d76b165125a940bfb86c417716 (diff)
parentbc98d7d5aaeeced69751688b57a69297a528fd3b (diff)
downloadscala-4a225596a1bf3d6ecb358dca5aae884b82883090.tar.gz
scala-4a225596a1bf3d6ecb358dca5aae884b82883090.tar.bz2
scala-4a225596a1bf3d6ecb358dca5aae884b82883090.zip
Merge pull request #3141 from soc/SI-7961
SI-7961 Fix false positive procedure warnings
Diffstat (limited to 'test/files/neg/t7605-deprecation.scala')
-rw-r--r--test/files/neg/t7605-deprecation.scala7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/files/neg/t7605-deprecation.scala b/test/files/neg/t7605-deprecation.scala
index 4a7dcd26d6..2b3362f94a 100644
--- a/test/files/neg/t7605-deprecation.scala
+++ b/test/files/neg/t7605-deprecation.scala
@@ -1,5 +1,8 @@
abstract class Foo {
- def this(i: Int) { this() }
def bar {}
def baz
-} \ No newline at end of file
+ def boo(i: Int, l: Long)
+ def boz(i: Int, l: Long) {}
+ def this(i: Int) { this() } // Don't complain here!
+ def foz: Unit // Don't complain here!
+}