summaryrefslogtreecommitdiff
path: root/test/files/run/t6381.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6381.scala')
-rw-r--r--test/files/run/t6381.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t6381.scala b/test/files/run/t6381.scala
index 0e2264d8fa..c78dc13ed7 100644
--- a/test/files/run/t6381.scala
+++ b/test/files/run/t6381.scala
@@ -7,7 +7,7 @@ object Test extends ReplTest {
| import c.universe._
| c.Expr[String](Literal(Constant(c.enclosingPosition.getClass.toString)))
|}
- |def pos = macro pos_impl
+ |def pos: String = macro pos_impl
|pos
|""".stripMargin.trim