diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t5738.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t5738.scala b/test/files/pos/t5738.scala new file mode 100644 index 0000000000..b8755ed66e --- /dev/null +++ b/test/files/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) + } +}
\ No newline at end of file |