diff --git a/tests/pos/i14096.scala b/tests/pos/i14096.scala new file mode 100644 index 000000000000..59365231b121 --- /dev/null +++ b/tests/pos/i14096.scala @@ -0,0 +1,7 @@ +// https://github.com/lampepfl/dotty/issues/14096 +object Test: + object Forte: + def test[T](i: Int, config: String = ""): Int = 1 + def test[T](i: String): Int = 2 + + Forte.test[Int](1)