From 62be62e5d6906c939b10c9107dad323af487514d Mon Sep 17 00:00:00 2001 From: Alexander Gorshenev Date: Thu, 1 Dec 2016 16:25:55 +0300 Subject: [PATCH] Added a test for exception handling in 'start'. --- backend.native/tests/runtime/basic/main_exception.kt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 backend.native/tests/runtime/basic/main_exception.kt diff --git a/backend.native/tests/runtime/basic/main_exception.kt b/backend.native/tests/runtime/basic/main_exception.kt new file mode 100644 index 00000000000..a15ece10c00 --- /dev/null +++ b/backend.native/tests/runtime/basic/main_exception.kt @@ -0,0 +1,3 @@ +fun main(args: Array) { + throw Error("Hello!") +}