diff options
author | Martin Odersky <odersky@gmail.com> | 2003-09-15 20:10:24 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-09-15 20:10:24 +0000 |
commit | 1b77651f90d9b4132e419409295f0d3c6153cf41 (patch) | |
tree | 6cee2b5116466066134cdbeacf809ba878546764 /test/pos/bug32.scala | |
parent | 01d4668fc81fbbb245d145086ceea0755848a383 (diff) | |
download | scala-1b77651f90d9b4132e419409295f0d3c6153cf41.tar.gz scala-1b77651f90d9b4132e419409295f0d3c6153cf41.tar.bz2 scala-1b77651f90d9b4132e419409295f0d3c6153cf41.zip |
*** empty log message ***
Diffstat (limited to 'test/pos/bug32.scala')
-rw-r--r-- | test/pos/bug32.scala | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/pos/bug32.scala b/test/pos/bug32.scala new file mode 100644 index 0000000000..4354727d1a --- /dev/null +++ b/test/pos/bug32.scala @@ -0,0 +1,17 @@ +import java.io._; + +class PromptStream(s: OutputStream) extends PrintStream(s) { + override def println() = super.println(); +} + +object Main { + + val out = new PromptStream(System.out); + + System.setOut(out); + + def main(args: Array[String]) = + //out.println("hello world"); + () + +} |