1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 info: RegExp instance has no [[Construct]] internal method
7 description: Checking if creating new RegExp instance fails
11 throw new Test262Error('#1.1: new /z/() throw TypeError. Actual: ' + (new /z/()));
14 e instanceof TypeError,
16 'The result of evaluating (e instanceof TypeError) is expected to be true'
20 // TODO: Convert to assert.throws() format.