Lines Matching refs:TestAll
54 function TestAll(s) { class
60 TestAll('let x = x + 1');
61 TestAll('let x = x += 1');
62 TestAll('let x = x++');
63 TestAll('let x = ++x');
64 TestAll('const x = x + 1');
67 TestAll('x + 1; let x;');
68 TestAll('x = 1; let x;');
69 TestAll('x += 1; let x;');
70 TestAll('++x; let x;');
71 TestAll('x++; let x;');
72 TestAll('let y = x; const x = 1;');
73 TestAll('let y = x; class x {}');
75 TestAll('f(); let x; function f() { return x + 1; }');
76 TestAll('f(); let x; function f() { x = 1; }');
77 TestAll('f(); let x; function f() { x += 1; }');
78 TestAll('f(); let x; function f() { ++x; }');
79 TestAll('f(); let x; function f() { x++; }');
80 TestAll('f(); const x = 1; function f() { return x; }');
81 TestAll('f(); class x { }; function f() { return x; }');
83 TestAll('f()(); let x; function f() { return function() { return x + 1; } }');
84 TestAll('f()(); let x; function f() { return function() { x = 1; } }');
85 TestAll('f()(); let x; function f() { return function() { x += 1; } }');
86 TestAll('f()(); let x; function f() { return function() { ++x; } }');
87 TestAll('f()(); let x; function f() { return function() { x++; } }');
88 TestAll('f()(); const x = 1; function f() { return function() { return x; } }');
89 TestAll('f()(); class x { }; function f() { return function() { return x; } }');
93 TestAll(`eval("x"); ${kw};`);
94 TestAll(`eval("x + 1;"); ${kw};`);
95 TestAll(`eval("x = 1;"); ${kw};`);
96 TestAll(`eval("x += 1;"); ${kw};`);
97 TestAll(`eval("++x;"); ${kw};`);
98 TestAll(`eval("x++;"); ${kw};`);
101 TestAll(`function f() { eval("var y = 2;"); x + 1; }; f(); ${kw};`);
102 TestAll(`function f() { eval("var y = 2;"); x = 1; }; f(); ${kw};`);
103 TestAll(`function f() { eval("var y = 2;"); x += 1; }; f(); ${kw};`);
104 TestAll(`function f() { eval("var y = 2;"); ++x; }; f(); ${kw};`);
105 TestAll(`function f() { eval("var y = 2;"); x++; }; f(); ${kw};`);
131 TestAll('{ function k() { return 0; } }; k(); ');