summaryrefslogtreecommitdiff
path: root/test/files/pos/t5742.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-06-09 11:02:10 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-06-09 11:02:10 +0200
commit066a800e3935988760dcfca44bef91e5b119c23b (patch)
tree8bd4524a93252ed5ed60f8473744de8fedcfdaaa /test/files/pos/t5742.scala
parent43ae8259f2e01393219d1ece0c87614eece32621 (diff)
downloadscala-066a800e3935988760dcfca44bef91e5b119c23b.tar.gz
scala-066a800e3935988760dcfca44bef91e5b119c23b.tar.bz2
scala-066a800e3935988760dcfca44bef91e5b119c23b.zip
test case, closes SI-5742
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