summaryrefslogtreecommitdiff
path: root/test/files/run/t1459/InheritingPrinter.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t1459/InheritingPrinter.scala')
-rw-r--r--test/files/run/t1459/InheritingPrinter.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t1459/InheritingPrinter.scala b/test/files/run/t1459/InheritingPrinter.scala
new file mode 100644
index 0000000000..70301307f5
--- /dev/null
+++ b/test/files/run/t1459/InheritingPrinter.scala
@@ -0,0 +1,6 @@
+class InheritingPrinter extends JavaPrinter {
+ override def doit(s: String*) {
+ print("InheritingPrinter extends ")
+ super.doit(s: _*);
+ }
+} \ No newline at end of file