# a6db9056348ab70af236776cbae4d3aeb9a4b82f764a128da8f5e03e7af98e2b Elan 1.8.0 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
