Searched refs:TestLocalDoesNotThrow (Results 1 – 2 of 2) sorted by relevance
63 function TestLocalDoesNotThrow(str) { class74 TestLocalDoesNotThrow("switch (true) { case true: let x; }");75 TestLocalDoesNotThrow("switch (true) { default: let x; }");84 TestLocalDoesNotThrow("switch (true) { case true: const x = 1; }");85 TestLocalDoesNotThrow("switch (true) { default: const x = 1; }");103 TestLocalDoesNotThrow("if (true) var x;");104 TestLocalDoesNotThrow("if (true) {} else var x;");105 TestLocalDoesNotThrow("do var x; while (false)");106 TestLocalDoesNotThrow("while (false) var x;");107 TestLocalDoesNotThrow("label: var x;");[all …]