File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 467
467
<compile-flags >-off:ArrayMissingValueCheckHoist</compile-flags >
468
468
</default >
469
469
</test >
470
+ <test >
471
+ <default >
472
+ <files >symcmpbug.js</files >
473
+ </default >
474
+ </test >
470
475
</regress-exe >
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
+ function symcmp ( c1 , c2 ) {
7
+ return ( c1 !== c2 ) ;
8
+ }
9
+
10
+ var s = Symbol ( ) ;
11
+ symcmp ( s , s ) ;
12
+ symcmp ( s , s ) ;
13
+ symcmp ( 1 , 2 ) ;
14
+ print ( "Passed" ) ;
You can’t perform that action at this time.
0 commit comments