summaryrefslogtreecommitdiff
path: root/test/files/run/t5894.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t5894.scala')
-rw-r--r--test/files/run/t5894.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t5894.scala b/test/files/run/t5894.scala
index abeec32365..8da4aa8523 100644
--- a/test/files/run/t5894.scala
+++ b/test/files/run/t5894.scala
@@ -4,7 +4,7 @@ class Test
object Test {
def foo = macro fooImpl
- def fooImpl(c: reflect.macros.Context) = c.literalUnit
+ def fooImpl(c: reflect.macros.Context) = { import c.universe._; c.Expr[Unit](Literal(Constant(()))) }
def main(args: Array[String]) {
try {