summaryrefslogtreecommitdiff
path: root/test/files/neg/literate_existentials.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/literate_existentials.check')
-rw-r--r--test/files/neg/literate_existentials.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/literate_existentials.check b/test/files/neg/literate_existentials.check
new file mode 100644
index 0000000000..c98f976f79
--- /dev/null
+++ b/test/files/neg/literate_existentials.check
@@ -0,0 +1,4 @@
+literate_existentials.scala:189: error: Cannot prove that Int <:< M forSome { type M <: String }.
+ implicitly[Int <:< (M forSome { type M >: Nothing <: String })] // fails
+ ^
+one error found