Home
last modified time | relevance | path

Searched refs:TestConflict (Results 1 – 2 of 2) sorted by relevance

/external/v8/test/mjsunit/
Dconst-redecl.js74 function TestConflict(def0, def1) { class
89 TestConflict("const x", "var x");
90 TestConflict("const x = 0", "var x");
91 TestConflict("const x", "var x = 0");
92 TestConflict("const x = 0", "var x = 0");
94 TestConflict("var x", "const x");
95 TestConflict("var x = 0", "const x");
96 TestConflict("var x", "const x = 0");
97 TestConflict("var x = 0", "const x = 0");
99 TestConflict("const x = undefined", "var x");
[all …]
/external/v8/test/mjsunit/harmony/
Dblock-conflicts.js81 function TestConflict(s) { class
121 TestConflict(letbinds[l] + varbinds[v]);
122 TestConflict(varbinds[v] + letbinds[l]);
124 TestConflict(letbinds[l] + '{' + varbinds[v] + '}');
125 TestConflict('{' + varbinds[v] +'}' + letbinds[l]);
129 TestConflict('for (' + letbinds[l] + '0;) {' + varbinds[v] + '}');
136 TestConflict(letbinds[l] + letbinds[k]);
137 TestConflict(letbinds[k] + letbinds[l]);
148 TestConflict(letbinds[l] + funbind);
149 TestConflict(funbind + letbinds[l]);
[all …]