aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t8888.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t8888.scala')
-rw-r--r--tests/pending/run/t8888.scala12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/pending/run/t8888.scala b/tests/pending/run/t8888.scala
deleted file mode 100644
index 0ddc2ae82..000000000
--- a/tests/pending/run/t8888.scala
+++ /dev/null
@@ -1,12 +0,0 @@
-class C {
- final def resume: Unit = (this: Any) match {
- case x : C => (x: Any) match {
- case y : C =>
- () => (x, y) // used to trigger a ClassFormatError under -Ydelambdafy:method
- }
- }
-}
-
-object Test extends dotty.runtime.LegacyApp {
- new C().resume
-}