diff options
Diffstat (limited to 'test/files/neg/t8736-c.scala')
-rw-r--r-- | test/files/neg/t8736-c.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t8736-c.scala b/test/files/neg/t8736-c.scala new file mode 100644 index 0000000000..8432775ae1 --- /dev/null +++ b/test/files/neg/t8736-c.scala @@ -0,0 +1,7 @@ +// scalac: -feature -language:-higherKinds,_ -Xfatal-warnings +// showing that wildcard doesn't supersede explicit disablement +class X { + def hk[M[_]] = ??? + + implicit def imp(x: X): Int = x.hashCode +} |