mirror of https://github.com/tc39/test262.git
19 lines
402 B
JavaScript
19 lines
402 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
info: FunctionDeclaration within a "do-while" Block is not allowed
|
|
description: >
|
|
Declaring a function within a "do-while" loop that is within a
|
|
function declaration itself
|
|
flags: [negative]
|
|
---*/
|
|
|
|
function(){
|
|
|
|
do{
|
|
function __func(){};
|
|
}while(0);
|
|
|
|
};
|