mirror of https://github.com/tc39/test262.git
Hg: Enter commit message. Lines beginning with 'HG:' are removed.
This commit is contained in:
parent
d378bd6ddd
commit
9d3bab7052
|
@ -123,8 +123,6 @@
|
|||
|
||||
<test id="S15.5.4.10_A1_T3">https://bugs.ecmascript.org/show_bug.cgi?id=23</test>
|
||||
|
||||
<test id="S12.6.4_A14_T1">https://bugs.ecmascript.org/show_bug.cgi?id=25</test>
|
||||
|
||||
<test id="S15.5.4.8_A1_T11">https://bugs.ecmascript.org/show_bug.cgi?id=30</test>
|
||||
|
||||
<test id="S7.8.4_A6.4_T1">https://bugs.ecmascript.org/show_bug.cgi?id=58</test>
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S12.6.4_A14_T1;
|
||||
* @section: 12.6.4;
|
||||
* @assertion: FunctionExpession within a "for-in" Expression is allowed;
|
||||
* @description: Using "function __func(){return 0;}" as Expession;
|
||||
*/
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//CHECK#
|
||||
for(x in function __func(){return 0;}){
|
||||
if (x=="prototype")
|
||||
var __reached = 1;
|
||||
};
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//CHECK#2
|
||||
if (__reached !== 1) {
|
||||
$ERROR('#2: function expession inside of for-in expression is allowed');
|
||||
}
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
Loading…
Reference in New Issue