Lines Matching refs:false
69 TestLocalThrows("do let x; while (false)", SyntaxError);
70 TestLocalThrows("while (false) let x;", SyntaxError);
72 TestLocalThrows("for (;false;) let x;", SyntaxError);
79 TestLocalThrows("do const x = 1; while (false)", SyntaxError);
80 TestLocalThrows("while (false) const x = 1;", SyntaxError);
82 TestLocalThrows("for (;false;) const x = 1;", SyntaxError);
94 TestLocalThrows("do const x; while (false)", SyntaxError);
95 TestLocalThrows("while (false) const x;", SyntaxError);
97 TestLocalThrows("for (;false;) const x;", SyntaxError);
104 TestLocalDoesNotThrow("do var x; while (false)");
105 TestLocalDoesNotThrow("while (false) var x;");
107 TestLocalDoesNotThrow("for (;false;) var x;");
154 TestLocalThrows("function f() { do function g() {} while (false)", SyntaxError);
155 TestLocalThrows("function f() { while (false) function g() {}", SyntaxError);
157 TestLocalThrows("function f() { for (;false;) function g() {}", SyntaxError);