1 function testLambdaCtor() {
3 for (var x = 0; x < RUNLOOP; ++x) {
8 // This prints false until the upvar2 bug is fixed:
9 // print(a[HOTLOOP].__proto__ !== a[HOTLOOP-1].__proto__);
11 // Assert that the last f was properly constructed.
12 return a[RUNLOOP-1].__proto__ === f.prototype;
14 assertEq(testLambdaCtor(), true);