summaryrefslogtreecommitdiff
path: root/test/files/pos/t8736-b.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t8736-b.scala')
-rw-r--r--test/files/pos/t8736-b.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t8736-b.scala b/test/files/pos/t8736-b.scala
new file mode 100644
index 0000000000..903292d232
--- /dev/null
+++ b/test/files/pos/t8736-b.scala
@@ -0,0 +1,7 @@
+// scalac: -feature -language:_ -Xfatal-warnings
+// showing that all are set
+class X {
+ def hk[M[_]] = ???
+
+ implicit def imp(x: X): Int = x.hashCode
+}