diff options
Diffstat (limited to 'tests/pending/run/t4742.scala')
-rw-r--r-- | tests/pending/run/t4742.scala | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/pending/run/t4742.scala b/tests/pending/run/t4742.scala deleted file mode 100644 index 47656049b..000000000 --- a/tests/pending/run/t4742.scala +++ /dev/null @@ -1,7 +0,0 @@ -trait T { val x: Int = 0 } -object O extends T { override final val x = 1 } - -object Test extends dotty.runtime.LegacyApp { - // was throwing an UnitializedFieldError as constant 1 is folded into the accessor - assert((O: T).x == 1) -} |