public final void testMaskedExceptionVariablesErrorB() throws Exception {
Block n = js(fromString(
"try { } catch (e) { function foo() { var e; } }"));
TryStmt t = (TryStmt)n.children().get(0);
CatchStmt c = (CatchStmt)t.children().get(1);
Declaration d = findNodeWithIdentifier(n, Declaration.class, "foo");
FunctionConstructor fc = (FunctionConstructor)d.getInitializer();
Scope s0 = fromProgram(n);
Scope s1 = Scope.fromCatchStmt(s0, c);