RosettaCodeData/Task/Assertions/Phix/assertions-1.phix

8 lines
85 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
type int42(object i)
return i=42
end type
int42 i
i = 41 -- type-check failure