diff options
Diffstat (limited to 'tests/pending/run/reify_newimpl_44.scala')
-rw-r--r-- | tests/pending/run/reify_newimpl_44.scala | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/pending/run/reify_newimpl_44.scala b/tests/pending/run/reify_newimpl_44.scala deleted file mode 100644 index 736536cb3..000000000 --- a/tests/pending/run/reify_newimpl_44.scala +++ /dev/null @@ -1,16 +0,0 @@ -import scala.reflect.runtime.universe._ -import scala.tools.reflect.Eval - -object Test extends dotty.runtime.LegacyApp { - { - var counter = 0 - lazy val x = { counter += 1; counter } - lazy val y = { counter += 1; counter } - val code = reify { - def foo = y // ensures that y is the first freevar we find - println(x) - println(y) - } - code.eval - } -} |