[K/N] Added test for exceptions behaviour in case of dynamic libs (KT-47828)

This commit is contained in:
Elena Lepilkina
2021-11-15 11:58:21 +03:00
committed by Space
parent 167a4c6b97
commit c06875b8e9
3 changed files with 31 additions and 0 deletions
@@ -0,0 +1,11 @@
#include "testlib_api.h"
#include <stdio.h>
int main(int argc, char** argv) {
try {
testlib_symbols()->kotlin.root.setHookAndThrow();
} catch (...) {
printf("FAIL. Native catch.\n");
}
}