summaryrefslogtreecommitdiff
path: root/test/files/run/t5923a-nofundep/Test_2.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-04-30 21:14:06 +0200
committerEugene Burmako <xeno.by@gmail.com>2014-07-02 14:22:00 +0200
commit0c5dd9e02f03143372237018c55e12a07c13f8c1 (patch)
treee1295c82ff27e3191c17f090b135903103b05f2a /test/files/run/t5923a-nofundep/Test_2.scala
parent300db2a1e3eefc2a6ed379c870bc7da42a26e69a (diff)
downloadscala-0c5dd9e02f03143372237018c55e12a07c13f8c1.tar.gz
scala-0c5dd9e02f03143372237018c55e12a07c13f8c1.tar.bz2
scala-0c5dd9e02f03143372237018c55e12a07c13f8c1.zip
[backport] SI-7470 implements fundep materialization
Backports 21a8c6c from the 2.11.x branch under -Xfundep-materialization as per Miles Sabin's request. Thanks Miles!
Diffstat (limited to 'test/files/run/t5923a-nofundep/Test_2.scala')
-rw-r--r--test/files/run/t5923a-nofundep/Test_2.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/t5923a-nofundep/Test_2.scala b/test/files/run/t5923a-nofundep/Test_2.scala
new file mode 100644
index 0000000000..001ff9aea8
--- /dev/null
+++ b/test/files/run/t5923a-nofundep/Test_2.scala
@@ -0,0 +1,5 @@
+object Test extends App {
+ println(implicitly[C[Int]])
+ println(implicitly[C[String]])
+ println(implicitly[C[Nothing]])
+} \ No newline at end of file