summaryrefslogtreecommitdiff
path: root/test/files/pos/t2331.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t2331.scala')
-rw-r--r--test/files/pos/t2331.scala11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/files/pos/t2331.scala b/test/files/pos/t2331.scala
deleted file mode 100644
index 9a15b5c2a9..0000000000
--- a/test/files/pos/t2331.scala
+++ /dev/null
@@ -1,11 +0,0 @@
-trait C {
- def m[T]: T
-}
-
-object Test {
- val o /*: C --> no crash*/ = new C {
- def m[T]: Nothing /*: T --> no crash*/ = error("omitted")
- }
-
- o.m[Nothing]
-} \ No newline at end of file