summaryrefslogtreecommitdiff
path: root/test/pending/pos/t0805.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/pos/t0805.scala')
-rw-r--r--test/pending/pos/t0805.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pending/pos/t0805.scala b/test/pending/pos/t0805.scala
new file mode 100644
index 0000000000..565a2a6527
--- /dev/null
+++ b/test/pending/pos/t0805.scala
@@ -0,0 +1,9 @@
+package fr.up5.mi.noel.scala
+object Test {
+ def make(t: Test) : Test = TestList(t.args.toList)
+}
+case class TestList[T](elements: List[T])(implicit f: T => Test)
+
+class Test {
+ val args: Array[Test]
+}