1#unittest { 2 name: "Avoid recursive conversion."; 3 error: RUNTIME; 4}; 5 6class Crash 7{ 8 var x,y,w,h; 9 10 func init (n1,n2,n3,n4) 11 { 12 x = n1; 13 y = n2; 14 w = n3; 15 h = n4; 16 } 17 18 func Int() 19 { 20 var i; 21 22 while (i < self) 23 { 24 i += 1; 25 } 26 27 return i+i; 28 } 29} 30 31 32func main() 33{ 34 var a = 10; 35 var b = Crash(1,2,3,4); 36 return a + b; 37}