// FIR_IDENTICAL //KT-3395 mapOf function can't be used as literal package b import java.util.ArrayList public fun query(t: T, args: Map): List { return ArrayList() } fun test(pair: Pair) { val id = "Hello" // variable is marked as unused println("Some" + query(0, mapOf(id to 1))) println("Some" + query(0, mapOf(pair))) } //from standard library fun mapOf(vararg values: Pair): Map { throw Exception() } infix fun A.to(that: B): Pair { throw Exception() } fun println(message : Any?) { throw Exception() } class Pair () {} //short example fun foo(t: T) = t fun test(t: String) { println("Some" + foo(t)) // t was marked with black square }