summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib-dynlink-native/c.ml
blob: a9bfc8b6062ccdf9e0986998ac73f17634dc22f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(***********************************************************************)
(*                                                                     *)
(*                                OCaml                                *)
(*                                                                     *)
(*                        Alain Frisch, LexiFi                         *)
(*                                                                     *)
(*  Copyright 2007 Institut National de Recherche en Informatique et   *)
(*  en Automatique.  All rights reserved.  This file is distributed    *)
(*  under the terms of the Q Public License version 1.0.               *)
(*                                                                     *)
(***********************************************************************)

let () =
  print_endline "C is running";
  incr A.x;
  Printf.printf "A.x = %i\n" !A.x