Home
last modified time | relevance | path

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

/external/chromium_org/v8/test/mjsunit/
Dconst-redecl.js107 function TestConflict(def0, def1) { class
122 TestConflict("const x", "var x");
123 TestConflict("const x = 0", "var x");
124 TestConflict("const x", "var x = 0");
125 TestConflict("const x = 0", "var x = 0");
127 TestConflict("var x", "const x");
128 TestConflict("var x = 0", "const x");
129 TestConflict("var x", "const x = 0");
130 TestConflict("var x = 0", "const x = 0");
132 TestConflict("const x = undefined", "var x");
[all …]
/external/v8/test/mjsunit/
Dconst-redecl.js107 function TestConflict(def0, def1) { class
122 TestConflict("const x", "var x");
123 TestConflict("const x = 0", "var x");
124 TestConflict("const x", "var x = 0");
125 TestConflict("const x = 0", "var x = 0");
127 TestConflict("var x", "const x");
128 TestConflict("var x = 0", "const x");
129 TestConflict("var x", "const x = 0");
130 TestConflict("var x = 0", "const x = 0");
132 TestConflict("const x = undefined", "var x");
[all …]
/external/v8/test/mjsunit/harmony/
Dblock-conflicts.js68 function TestConflict(s) { class
105 TestConflict(letbinds[l] +'; ' + varbinds[v]);
106 TestConflict(varbinds[v] +'; ' + letbinds[l]);
108 TestConflict(letbinds[l] +'; {' + varbinds[v] + '; }');
109 TestConflict('{ ' + varbinds[v] +'; }' + letbinds[l]);
115 TestConflict(letbinds[l] +'; ' + letbinds[k]);
116 TestConflict(letbinds[k] +'; ' + letbinds[l]);
123 TestConflict('(function (x) { ' + letbinds[l] + '; })()');
128 TestConflict('try {} catch (x) { ' + varbinds[v] + '; }');
/external/chromium_org/v8/test/mjsunit/harmony/
Dblock-conflicts.js69 function TestConflict(s) { class
106 TestConflict(letbinds[l] +'; ' + varbinds[v]);
107 TestConflict(varbinds[v] +'; ' + letbinds[l]);
109 TestConflict(letbinds[l] +'; {' + varbinds[v] + '; }');
110 TestConflict('{ ' + varbinds[v] +'; }' + letbinds[l]);
116 TestConflict(letbinds[l] +'; ' + letbinds[k]);
117 TestConflict(letbinds[k] +'; ' + letbinds[l]);
124 TestConflict('(function (x) { ' + letbinds[l] + '; })()');
129 TestConflict('try {} catch (x) { ' + varbinds[v] + '; }');