Skip to content

Commit 5169255

Browse files
committed
Add unit test
1 parent 9195b94 commit 5169255

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

test/Bugs/bug_OS17530048.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//-------------------------------------------------------------------------------------------------------
2+
// Copyright (C) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4+
//-------------------------------------------------------------------------------------------------------
5+
6+
(a = () => 1) => 2;
7+
(function(){})()
8+
console.log('pass');

test/Bugs/rlexe.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,4 +489,11 @@
489489
<files>bug17785360.js</files>
490490
</default>
491491
</test>
492+
<test>
493+
<default>
494+
<files>bug_OS17530048.js</files>
495+
<tags>exclude_jshost</tags>
496+
<compile-flags>-force:deferparse -parserstatecache -useparserstatecache</compile-flags>
497+
</default>
498+
</test>
492499
</regress-exe>

0 commit comments

Comments
 (0)