diff options
Diffstat (limited to 'tests/pending/pos/t5932.scala')
-rw-r--r-- | tests/pending/pos/t5932.scala | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/pending/pos/t5932.scala b/tests/pending/pos/t5932.scala deleted file mode 100644 index d824523d5..000000000 --- a/tests/pending/pos/t5932.scala +++ /dev/null @@ -1,15 +0,0 @@ -class A - -case object B extends A - -object Test { - val x1 = (B: A) - - println(x1 == B) // no warning - println(B == x1) // no warning - - val x2 = (B: A with Product) - - println(x2 == B) // no warning - println(B == x2) // spurious warning: "always returns false" -} |