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

« back to all changes in this revision

Viewing changes to testsuite/tests/tool-ocaml/t090-acc6.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
open Lib;;
 
2
let x = true in
 
3
let y = false in
 
4
let z = false in
 
5
let a = false in
 
6
let b = false in
 
7
let c = false in
 
8
let d = false in
 
9
();
 
10
if not x then raise Not_found
 
11
;;
 
12
 
 
13
(**
 
14
       0 CONSTINT 42
 
15
       2 PUSHACC0 
 
16
       3 MAKEBLOCK1 0
 
17
       5 POP 1
 
18
       7 SETGLOBAL Lib
 
19
       9 CONST1 
 
20
      10 PUSHCONST0 
 
21
      11 PUSHCONST0 
 
22
      12 PUSHCONST0 
 
23
      13 PUSHCONST0 
 
24
      14 PUSHCONST0 
 
25
      15 PUSHCONST0 
 
26
      16 PUSHCONST0 
 
27
      17 ACC6 
 
28
      18 BOOLNOT 
 
29
      19 BRANCHIFNOT 26
 
30
      21 GETGLOBAL Not_found
 
31
      23 MAKEBLOCK1 0
 
32
      25 RAISE 
 
33
      26 POP 7
 
34
      28 ATOM0 
 
35
      29 SETGLOBAL T090-acc6
 
36
      31 STOP 
 
37
**)