summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib-dynlink-bytecode/stub2.c
blob: a118673543361a1a3d9e04401c6fa51b91fb5651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "caml/mlvalues.h"
#include "caml/memory.h"
#include "caml/alloc.h"
#include <stdio.h>

extern value stub1();

value stub2() {
  printf("This is stub2, calling stub1:\n");
  stub1();
  printf("Ok!\n");
  return Val_unit;
}