Files
kotlin-fork/backend.native/tests/codegen/branching/when_through-test.c
T
Konstantin Anisimov 04d441ef21 Test fixed
2016-11-18 12:44:00 +03:00

11 lines
185 B
C

extern void *resolve_symbol(const char*);
int
run_test() {
int (*when_through)(int) = resolve_symbol("kfun:when_through(Int)");
if (when_through(2) != 1) return 1;
return 0;
}