aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t287.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t287.scala')
-rw-r--r--tests/untried/pos/t287.scala12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/untried/pos/t287.scala b/tests/untried/pos/t287.scala
deleted file mode 100644
index 8e5e8831c..000000000
--- a/tests/untried/pos/t287.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
- }
- }
-}