diff options
Diffstat (limited to 'test/files/pos/bug287.scala')
-rw-r--r-- | test/files/pos/bug287.scala | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/files/pos/bug287.scala b/test/files/pos/bug287.scala deleted file mode 100644 index 8e5e8831c1..0000000000 --- a/test/files/pos/bug287.scala +++ /dev/null @@ -1,12 +0,0 @@ -object testBuf { - class mystream extends java.io.BufferedOutputStream(new java.io.FileOutputStream("/dev/null")) { - def w( x:String ):Unit = { - val foo = new Array[Byte](2); - - // write( byte[] ) is defined in FilterOutputStream, the superclass of BufferedOutputStream - super.write( foo ); // error - - super.write( foo, 0, foo.length ); // this works however - } - } -} |