| // Copyright 2009 the Sputnik authors. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| info: Function's scope chain is started when it is declared |
| description: Function is declared multiply times |
| ////////////////////////////////////////////////////////////////////////////// |
| if (typeof __func !== "undefined") { |
| $ERROR('#0: typeof __func === "undefined". Actual: typeof __func ==='+typeof __func); |
| ////////////////////////////////////////////////////////////////////////////// |
| ////////////////////////////////////////////////////////////////////////////// |
| $ERROR('#1: __func() === 2. Actual: __func() ==='+__func()); |
| ////////////////////////////////////////////////////////////////////////////// |
| ////////////////////////////////////////////////////////////////////////////// |
| $ERROR('#2: __func()==="b". Actual: __func()==='+__func()); |
| ////////////////////////////////////////////////////////////////////////////// |
| ////////////////////////////////////////////////////////////////////////////// |
| $ERROR('#3: __func()==="b". Actual: __func()==='+__func()); |
| ////////////////////////////////////////////////////////////////////////////// |