aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/macro-expand-implicit-macro-has-implicit/Macros_Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/disabled/macro/run/macro-expand-implicit-macro-has-implicit/Macros_Test_2.scala')
-rw-r--r--tests/disabled/macro/run/macro-expand-implicit-macro-has-implicit/Macros_Test_2.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/macro-expand-implicit-macro-has-implicit/Macros_Test_2.scala b/tests/disabled/macro/run/macro-expand-implicit-macro-has-implicit/Macros_Test_2.scala
new file mode 100644
index 000000000..2f5648758
--- /dev/null
+++ b/tests/disabled/macro/run/macro-expand-implicit-macro-has-implicit/Macros_Test_2.scala
@@ -0,0 +1,5 @@
+object Test extends dotty.runtime.LegacyApp {
+ implicit val x = 42
+ def foo(implicit x: Int): Unit = macro Impls.foo
+ foo
+} \ No newline at end of file