diff options
Diffstat (limited to 'tests/pending/run/t3580.scala')
-rw-r--r-- | tests/pending/run/t3580.scala | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/pending/run/t3580.scala b/tests/pending/run/t3580.scala new file mode 100644 index 000000000..50ff6c455 --- /dev/null +++ b/tests/pending/run/t3580.scala @@ -0,0 +1,17 @@ + + + + + +object Test { + + class Empty extends Traversable[Nothing] { + def foreach[U](f: Nothing => U) {} + } + + def main(args: Array[String]) { + val t = new Empty + t.toStream + } + +} |