// WITH_RUNTIME // INTENTION_TEXT: "Replace with 'sum()'" // IS_APPLICABLE_2: false fun foo(list: List): Int { var s = 0 for (item in list) { s += item } return s }