mirror of
https://github.com/tc39/test262.git
synced 2025-08-28 13:28:38 +02:00
20 lines
516 B
JavaScript
20 lines
516 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/**
|
|
* The production Block can't be inside of expression
|
|
*
|
|
* @path ch12/12.1/S12.1_A4_T1.js
|
|
* @description Checking if execution of "y={__func}()" fails
|
|
* @negative
|
|
*/
|
|
|
|
function __func(){};
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//CHECK#1
|
|
y={__func}();
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|