# 710f80ddbe8a616eba13b0b151e2988682d1f61aed868d06deea1fb599cf9521 Elan 1.6.2 guest default_profile valid

class Pupil
  property mathsPercent as Int

end class

main
  let allPupils be new List<of Pupil>()
  variable passes set to allPupils.filter(ref passedMathsTest)
end main

function passedMathsTest(p as Pupil) returns Boolean
  return p.mathsPercent > 35
end function
