File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
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
+ // Should not crash with switches:
7
+ // -off:deferparse -force:redeferral -collectgarbage -parserstatecache -useparserstatecache
8
+
9
+ function test ( ) { }
10
+
11
+ test ( ) ;
12
+ CollectGarbage ( ) ;
13
+ test ( ) ;
14
+
15
+ console . log ( 'pass' ) ;
Original file line number Diff line number Diff line change 449
449
<compile-flags >-force:deferparse -force:redeferral</compile-flags >
450
450
</default >
451
451
</test >
452
+ <test >
453
+ <default >
454
+ <files >bug_os17698041.js</files >
455
+ <compile-flags >-off:deferparse -force:redeferral -collectgarbage -parserstatecache -useparserstatecache</compile-flags >
456
+ </default >
457
+ </test >
452
458
</regress-exe >
You can’t perform that action at this time.
0 commit comments