Searched refs:TestConflict (Results 1 – 3 of 3) sorted by relevance
/external/v8/test/mjsunit/ |
D | const-redecl.js | 76 function TestConflict(def0, def1) { class 91 TestConflict("const x", "var x"); 92 TestConflict("const x = 0", "var x"); 93 TestConflict("const x", "var x = 0"); 94 TestConflict("const x = 0", "var x = 0"); 96 TestConflict("var x", "const x"); 97 TestConflict("var x = 0", "const x"); 98 TestConflict("var x", "const x = 0"); 99 TestConflict("var x = 0", "const x = 0"); 101 TestConflict("const x = undefined", "var x"); [all …]
|
/external/v8/test/mjsunit/harmony/ |
D | block-conflicts-sloppy.js | 58 function TestConflict(s) { class 102 TestConflict(letbinds[l] + varbinds[v]); 103 TestConflict(varbinds[v] + letbinds[l]); 105 TestConflict(letbinds[l] + '{' + varbinds[v] + '}'); 106 TestConflict('{' + varbinds[v] +'}' + letbinds[l]); 111 TestConflict('for (' + letbinds[l] + '0;) {' + varbinds[v] + '}'); 119 TestConflict(letbinds[l] + letbinds[k]); 120 TestConflict(letbinds[k] + letbinds[l]); 135 TestConflict(letbinds[l] + funbind); 136 TestConflict(funbind + letbinds[l]); [all …]
|
/external/v8/test/mjsunit/es6/ |
D | block-conflicts.js | 56 function TestConflict(s) { class 100 TestConflict(letbinds[l] + varbinds[v]); 101 TestConflict(varbinds[v] + letbinds[l]); 103 TestConflict(letbinds[l] + '{' + varbinds[v] + '}'); 104 TestConflict('{' + varbinds[v] +'}' + letbinds[l]); 109 TestConflict('for (' + letbinds[l] + '0;) {' + varbinds[v] + '}'); 117 TestConflict(letbinds[l] + letbinds[k]); 118 TestConflict(letbinds[k] + letbinds[l]); 133 TestConflict(letbinds[l] + funbind); 134 TestConflict(funbind + letbinds[l]); [all …]
|