# 293a89c73fcb7f8ecb3761bc6e6cf3d34e6d19900c71d97c3f8b644989a1240a Elan 1.6.1 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
