Index: test/cctest/interpreter/test-interpreter.cc |
diff --git a/test/cctest/interpreter/test-interpreter.cc b/test/cctest/interpreter/test-interpreter.cc |
index ea28cc95b250f25423b83262d7ddcb0032d59018..62ee25dbc78fddb5fbd72a8ff9c93bec05e73f73 100644 |
--- a/test/cctest/interpreter/test-interpreter.cc |
+++ b/test/cctest/interpreter/test-interpreter.cc |
@@ -2030,6 +2030,9 @@ TEST(InterpreterTryCatch) { |
handle(Smi::FromInt(2), isolate)), |
std::make_pair("var a; try { throw 1 } catch(e) { a = e + 2 }; return a;", |
handle(Smi::FromInt(3), isolate)), |
+ std::make_pair("var a; try { throw 1 } catch(e) { a = e + 2 };" |
+ " try { throw a } catch(e) { a = e + 3 }; return a;", |
+ handle(Smi::FromInt(6), isolate)), |
}; |
for (size_t i = 0; i < arraysize(catches); i++) { |