michael@0: // |jit-test| error: TypeError michael@0: michael@0: for (var i = 0; i <= 0x017f; i++) { michael@0: var U = new Unicode(i); michael@0: } michael@0: function Unicode(c) { michael@0: u = GetUnicodeValues(c); michael@0: this.upper = u[0]; michael@0: } michael@0: function GetUnicodeValues(c) { michael@0: u = new Array(); michael@0: if ((c >= 0x0100 && c < 0x0138) || (c > 0x0149 && c < 0x0178)) try {} finally { michael@0: return; michael@0: } michael@0: return u; michael@0: }