RosettaCodeData/Task/Assertions/Phix/assertions-1.phix
2016-12-05 23:44:36 +01:00

7 lines
85 B
Text

type int42(object i)
return i=42
end type
int42 i
i = 41 -- type-check failure