2014-10-30 14:21:27 +00:00
|
|
|
// Copyright 2014 the V8 project authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2017-12-01 14:30:07 +00:00
|
|
|
// --cache=code
|
2014-10-30 14:21:27 +00:00
|
|
|
|
|
|
|
var caught = false;
|
|
|
|
try {
|
|
|
|
parseInt() = 0;
|
|
|
|
} catch(e) {
|
|
|
|
caught = true;
|
|
|
|
}
|
|
|
|
assertTrue(caught);
|