summaryrefslogtreecommitdiff
path: root/test/files/run/t3452b/S_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t3452b/S_1.scala')
-rw-r--r--test/files/run/t3452b/S_1.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/t3452b/S_1.scala b/test/files/run/t3452b/S_1.scala
new file mode 100644
index 0000000000..3ab19ed031
--- /dev/null
+++ b/test/files/run/t3452b/S_1.scala
@@ -0,0 +1,10 @@
+trait Search[M] {
+ def search(input: M): C[Int] = {
+ println("Search received: " + input)
+ null
+ }
+}
+
+object StringSearch extends Search[String]
+
+trait C[T]