diff options
Diffstat (limited to 'test/files/run/macro-expand-implicit-macro-has-implicit/Macros_Test_2.scala')
-rw-r--r-- | test/files/run/macro-expand-implicit-macro-has-implicit/Macros_Test_2.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/macro-expand-implicit-macro-has-implicit/Macros_Test_2.scala b/test/files/run/macro-expand-implicit-macro-has-implicit/Macros_Test_2.scala new file mode 100644 index 0000000000..ffb04dc80b --- /dev/null +++ b/test/files/run/macro-expand-implicit-macro-has-implicit/Macros_Test_2.scala @@ -0,0 +1,5 @@ +object Test extends App { + implicit val x = 42 + def foo(implicit x: Int) = macro Impls.foo + foo +}
\ No newline at end of file |