# 533abb77682c8f7ed28226bd47ee8f9f74417ba73ea2fe14d1b8574adba4c961 Elan 1.6.2 guest default_profile valid

class Pupil
  property mathsPercent as Int

end class

main
  let allPupils be new List<of Pupil>()
  print allPupils.filter(ref passedMathsTest)
end main

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