aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t7157
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t7157')
-rw-r--r--tests/pending/run/t7157/Impls_Macros_1.scala15
-rw-r--r--tests/pending/run/t7157/Test_2.scala5
2 files changed, 0 insertions, 20 deletions
diff --git a/tests/pending/run/t7157/Impls_Macros_1.scala b/tests/pending/run/t7157/Impls_Macros_1.scala
deleted file mode 100644
index cc258b016..000000000
--- a/tests/pending/run/t7157/Impls_Macros_1.scala
+++ /dev/null
@@ -1,15 +0,0 @@
-import scala.reflect.macros.blackbox.Context
-import language.experimental.macros
-
-object Macros {
- object AImpl {
- def a(ctx: Context)(args: ctx.Expr[Any]*): ctx.Expr[Unit] = {
- import ctx.universe._
- ctx.Expr[Unit](Apply(Ident(TermName("println")), List(Literal(Constant(1)))))
- }
- }
-
- implicit class A(context: StringContext) {
- def a(args: Any*): Unit = macro AImpl.a
- }
-} \ No newline at end of file
diff --git a/tests/pending/run/t7157/Test_2.scala b/tests/pending/run/t7157/Test_2.scala
deleted file mode 100644
index be0d54d75..000000000
--- a/tests/pending/run/t7157/Test_2.scala
+++ /dev/null
@@ -1,5 +0,0 @@
-import Macros._
-
-object Test extends dotty.runtime.LegacyApp {
- a""
-} \ No newline at end of file