diff --git a/tests/neg/4382.scala b/tests/neg/4382.scala new file mode 100644 index 000000000000..e1be23f29b99 --- /dev/null +++ b/tests/neg/4382.scala @@ -0,0 +1,3 @@ +trait x0[x0[_]] { + (??? : x0[_]): x0[Int] // error +}