summaryrefslogtreecommitdiff
path: root/test/files/pos/t1675.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2009-03-24 16:19:25 +0000
committerIulian Dragos <jaguarul@gmail.com>2009-03-24 16:19:25 +0000
commita2bfe6eef5294f9bd6347ab98c171db4bc6fe78d (patch)
treed1c26e6cfde619d0a9849ade49557b180d40c759 /test/files/pos/t1675.scala
parent66f28b5aa86372c16219f9acdaf9648b93fe133f (diff)
downloadscala-a2bfe6eef5294f9bd6347ab98c171db4bc6fe78d.tar.gz
scala-a2bfe6eef5294f9bd6347ab98c171db4bc6fe78d.tar.bz2
scala-a2bfe6eef5294f9bd6347ab98c171db4bc6fe78d.zip
Fixed #1675
Diffstat (limited to 'test/files/pos/t1675.scala')
-rw-r--r--test/files/pos/t1675.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t1675.scala b/test/files/pos/t1675.scala
new file mode 100644
index 0000000000..dcf1bf5a08
--- /dev/null
+++ b/test/files/pos/t1675.scala
@@ -0,0 +1,11 @@
+package a
+object Foo extends pack.Bar {
+ for(i <- 0 to 10) {
+ test("")
+ }
+}
+package pack {
+ class Bar {
+ protected def test(s: String*) {}
+ }
+}