diff --git a/compiler/testData/checkerWithErrorTypes/full/regression/kt287.jet b/compiler/testData/checkerWithErrorTypes/full/regression/kt287.jet index e6f5ff1aeb0..b0efe2e6460 100644 --- a/compiler/testData/checkerWithErrorTypes/full/regression/kt287.jet +++ b/compiler/testData/checkerWithErrorTypes/full/regression/kt287.jet @@ -3,3 +3,9 @@ import java.util.* fun attributes() : Map = HashMap() // Should be inferred; val attributes : Map = HashMap() // Should be inferred; + +fun foo(m : Map) {} + +fun test() { + foo(HashMap()) +}