diff options
Diffstat (limited to 'test/files/run/macro-bodyexpandstoimpl/Macros_Test_2.scala')
-rw-r--r-- | test/files/run/macro-bodyexpandstoimpl/Macros_Test_2.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/macro-bodyexpandstoimpl/Macros_Test_2.scala b/test/files/run/macro-bodyexpandstoimpl/Macros_Test_2.scala index cfcb59c17b..486e1de090 100644 --- a/test/files/run/macro-bodyexpandstoimpl/Macros_Test_2.scala +++ b/test/files/run/macro-bodyexpandstoimpl/Macros_Test_2.scala @@ -1,7 +1,7 @@ import scala.language.experimental.macros object Macros { - def foo(x: Int) = macro Impls.refToFoo(42) + def foo(x: Int): Int = macro Impls.refToFoo(42) } object Test extends App { |