diff options
Diffstat (limited to 'tests/untried/pos/t5742.scala')
-rw-r--r-- | tests/untried/pos/t5742.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/untried/pos/t5742.scala b/tests/untried/pos/t5742.scala new file mode 100644 index 000000000..1cd73e0cb --- /dev/null +++ b/tests/untried/pos/t5742.scala @@ -0,0 +1,8 @@ +import scala.reflect.runtime.universe._ + +object Test extends App { + def foo[T](a: T) = reify { + val x1 = a + val x2 = reify(a) + } +} |