# ca6da03432acf0f1674e159694e51cf9e80e89cbcc6f05fe23c69bf68e530f5f Elan 1.6.4 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
