diff options
Diffstat (limited to 'testsuite/tests/callback/stack_overflow_.c')
-rw-r--r-- | testsuite/tests/callback/stack_overflow_.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/callback/stack_overflow_.c b/testsuite/tests/callback/stack_overflow_.c new file mode 100644 index 0000000000..0978ac9b20 --- /dev/null +++ b/testsuite/tests/callback/stack_overflow_.c @@ -0,0 +1,6 @@ +#include <caml/mlvalues.h> +#include <caml/callback.h> + +value caml_to_c (value f) { + return caml_callback(f, Val_unit); +} |