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