summaryrefslogtreecommitdiff
path: root/test/files/pos/t5809.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t5809.scala')
-rw-r--r--test/files/pos/t5809.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/t5809.scala b/test/files/pos/t5809.scala
new file mode 100644
index 0000000000..8f6ce708d2
--- /dev/null
+++ b/test/files/pos/t5809.scala
@@ -0,0 +1,10 @@
+package scala.reflect
+
+package object api {
+ implicit class PimpedExpr[T](expr: Universe # Expr[T]) {
+ def runtimeEval: T = {
+ println("hello, dear")
+ expr.eval
+ }
+ }
+} \ No newline at end of file