summaryrefslogtreecommitdiff
path: root/test/files/jvm/t1342/SI.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/t1342/SI.scala')
-rw-r--r--test/files/jvm/t1342/SI.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/jvm/t1342/SI.scala b/test/files/jvm/t1342/SI.scala
new file mode 100644
index 0000000000..8e3b753210
--- /dev/null
+++ b/test/files/jvm/t1342/SI.scala
@@ -0,0 +1,10 @@
+class SI extends JI {
+ def varArgsMethod( args : String*) {
+ for( arg <- args ) println( arg )
+ }
+}
+
+object Test extends Application {
+ val x: JI = new SI
+ x.varArgsMethod("one", "two")
+}