keith_miller@apple.com | bcc77f2 | 2016-07-15 06:03:25 +0000 | [diff] [blame] | 1 | // Copyright 2009 the Sputnik authors. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | info: Unicode symbols in function name are allowed |
| 6 | es5id: 13_A14 |
| 7 | description: Defining function name with unicode symbols |
| 8 | ---*/ |
| 9 | |
| 10 | var funcA = eval("function __func\u0041(__arg){return __arg;}; __funcA"); |
| 11 | |
| 12 | ////////////////////////////////////////////////////////////////////////////// |
| 13 | //CHECK#1 |
| 14 | if (typeof funcA !== "function") { |
| 15 | $ERROR('#1: unicode symbols in function name are allowed'); |
| 16 | } |
| 17 | // |
| 18 | ////////////////////////////////////////////////////////////////////////////// |