diff options
Diffstat (limited to 'tests/pending/run/macro-whitebox-structural')
-rw-r--r-- | tests/pending/run/macro-whitebox-structural/Impls_Macros_1.scala | 16 | ||||
-rw-r--r-- | tests/pending/run/macro-whitebox-structural/Test_2.scala | 5 |
2 files changed, 0 insertions, 21 deletions
diff --git a/tests/pending/run/macro-whitebox-structural/Impls_Macros_1.scala b/tests/pending/run/macro-whitebox-structural/Impls_Macros_1.scala deleted file mode 100644 index 45fdb79c3..000000000 --- a/tests/pending/run/macro-whitebox-structural/Impls_Macros_1.scala +++ /dev/null @@ -1,16 +0,0 @@ -import scala.reflect.macros.whitebox.Context -import scala.language.experimental.macros - -object Macros { - def impl(c: Context) = { - import c.universe._ - q""" - trait Foo { - def x = 2 - } - new Foo {} - """ - } - - def foo: Any = macro impl -}
\ No newline at end of file diff --git a/tests/pending/run/macro-whitebox-structural/Test_2.scala b/tests/pending/run/macro-whitebox-structural/Test_2.scala deleted file mode 100644 index 6fa47e1dd..000000000 --- a/tests/pending/run/macro-whitebox-structural/Test_2.scala +++ /dev/null @@ -1,5 +0,0 @@ -import Macros._ - -object Test extends dotty.runtime.LegacyApp { - println(Macros.foo.x) -}
\ No newline at end of file |