// FIR_IDENTICAL // !LANGUAGE: +SoundSmartCastsAfterTry fun bar(arg: Any?) = arg fun foo() { var s: String? s = null try { s = "Test" } catch (ex: Exception) {} bar(s) if (s != null) { } s.hashCode() }