aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t5738.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t5738.scala')
-rw-r--r--tests/untried/pos/t5738.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/untried/pos/t5738.scala b/tests/untried/pos/t5738.scala
new file mode 100644
index 000000000..ec2b08e01
--- /dev/null
+++ b/tests/untried/pos/t5738.scala
@@ -0,0 +1,8 @@
+import scala.reflect.runtime.universe._
+
+object Test extends App {
+ def f[T](a: T, b: T) = {
+ reify(a.toString + b)
+ reify(a + b.toString)
+ }
+}