// WITH_SIGNATURES // FILE: t.kt fun interface Sam { fun get(): T } fun expectsSam(sam: Sam) = sam.get() fun specializedSam(f: () -> String) = expectsSam(f)