diff options
Diffstat (limited to 'tests/disabled/java-interop/pos/t1711')
-rw-r--r-- | tests/disabled/java-interop/pos/t1711/Seq.scala | 12 | ||||
-rw-r--r-- | tests/disabled/java-interop/pos/t1711/Test.java | 6 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/disabled/java-interop/pos/t1711/Seq.scala b/tests/disabled/java-interop/pos/t1711/Seq.scala new file mode 100644 index 000000000..c18f05cd7 --- /dev/null +++ b/tests/disabled/java-interop/pos/t1711/Seq.scala @@ -0,0 +1,12 @@ +package com + +object Sequence { + + def filteringFunction[V](filter: V => Boolean): List[V] => List[V] = { + def include(v: V) = + filter(v) + (l: List[V]) => l.filter(include) + } + +} + diff --git a/tests/disabled/java-interop/pos/t1711/Test.java b/tests/disabled/java-interop/pos/t1711/Test.java new file mode 100644 index 000000000..5ec0f2297 --- /dev/null +++ b/tests/disabled/java-interop/pos/t1711/Test.java @@ -0,0 +1,6 @@ +import com.Sequence; + +public class Test { + void foo() { + } +} |