FILE: ambiguityWhenNoApplicableCallableReferenceCandidate.kt
    public final fun foo(x: R|kotlin/Int|): R|kotlin/Unit| {
    }
    public final fun foo(y: R|kotlin/String|): R|kotlin/Unit| {
    }
    public final fun <T> bar(f: R|(T) -> kotlin/Unit|): R|kotlin/Unit| {
    }
    public final fun test(): R|kotlin/Unit| {
        R|/bar<CS errors: /bar>#|<<ERROR TYPE REF: Cannot infer argument for type parameter T>>(::<Ambiguity: foo, [/foo, /foo]>#)
    }
