// Copyright 2009 the Sputnik authors.  All rights reserved.
/**
 * Object.prototype.valueOf can't be used as a constructor
 *
 * @path ch15/15.2/15.2.4/15.2.4.4/S15.2.4.4_A7.js
 * @description Checking if creating "new Object.prototype.valueOf" fails
 */

var FACTORY = Object.prototype.valueOf;

try {
  instance = new FACTORY;
  $FAIL('#1: Object.prototype.valueOf can\'t be used as a constructor');
} catch (e) {
  $PRINT(e);

}

