From 84b5fd2717a8db5ba3a94918fca9674398611340 Mon Sep 17 00:00:00 2001 From: belliash Date: Tue, 4 Jun 2019 07:39:30 +0200 Subject: [PATCH] Test 'finally' block compiler. --- tests/exception_handler.aer | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/exception_handler.aer b/tests/exception_handler.aer index b03d195..bc079f2 100644 --- a/tests/exception_handler.aer +++ b/tests/exception_handler.aer @@ -24,6 +24,8 @@ class Program { throw new NewException("Catch me once", 1); } catch(Exception $e) { ExceptionHandler::handleException($e); + } finally { + print("Called finally block 1\n"); } throw new Exception("Catch me twice", 2); }