~ubuntu-branches/debian/sid/ocaml/sid

« back to all changes in this revision

Viewing changes to testsuite/tests/tool-ocaml/t040-makeblock3.ml

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu
  • Date: 2011-04-21 21:35:08 UTC
  • mfrom: (1.1.11 upstream) (12.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110421213508-kg34453aqmb0moha
* Fixes related to -output-obj with g++ (in debian/patches):
  - add Declare-primitive-name-table-as-const-char
  - add Avoid-multiple-declarations-in-generated-.c-files-in
  - fix Embed-bytecode-in-C-object-when-using-custom: the closing
    brace for extern "C" { ... } was missing in some cases

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
type t = {
 
2
  mutable a : int;
 
3
  mutable b : int;
 
4
  mutable c : int;
 
5
};;
 
6
 
 
7
{ a = 0; b = 0; c = 0 };;
 
8
 
 
9
(**
 
10
       0 CONST0 
 
11
       1 PUSHCONST0 
 
12
       2 PUSHCONST0 
 
13
       3 MAKEBLOCK3 0
 
14
       5 ATOM0 
 
15
       6 SETGLOBAL T040-makeblock3
 
16
       8 STOP 
 
17
**)