1 2 3 4 5 6 7 8
pragma Strict import TestTypes QtObject { function getEnum(): int { return Test.AA + Test.BB + Test.CC } }