KT-2260 test for non reproducable (probably obsolete) issue

This commit is contained in:
Alex Tkachman
2012-08-04 19:23:41 +03:00
parent 3ca1cbf5a0
commit 0ecb02cc25
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,9 @@
trait Flusher {
fun flush() = "OK"
}
fun myFlusher() = object : Flusher { }
fun flushIt(flusher: Flusher) = flusher.flush()
fun box() = flushIt(myFlusher())