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