| Index: test/mjsunit/asm/regress-681236.js
|
| diff --git a/test/mjsunit/asm/regress-681236.js b/test/mjsunit/asm/regress-681236.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3e010c5d1ded641a94363f21755a19718afffd5b
|
| --- /dev/null
|
| +++ b/test/mjsunit/asm/regress-681236.js
|
| @@ -0,0 +1,14 @@
|
| +// Copyright 2017 the V8 project authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// Flags: --validate-asm
|
| +
|
| +function __f_3() {
|
| + "use asm";
|
| + function __f_15(__v_7) {
|
| + __v_7 = __v_7|0;
|
| + }
|
| + return {__f_15: __f_15};
|
| +}
|
| +assertEquals(['__f_15'], Object.getOwnPropertyNames(__f_3()));
|
|
|