File: smoke_test.mlcfg

package info (click to toggle)
why3 1.8.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 45,028 kB
  • sloc: xml: 185,443; ml: 111,224; ansic: 3,998; sh: 2,578; makefile: 2,568; java: 865; python: 720; javascript: 290; lisp: 205; pascal: 173
file content (51 lines) | stat: -rw-r--r-- 1,040 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module C206_U2_Impl
  use Type
  use mach.int.Int
  use prelude.Prelude
  use mach.int.UInt64
  clone CreusotContracts_Std1_Vec_Impl0_Model as Model0 with type t = usize
  let rec ghost function u2 (a : Type.c206_a) : ()
    ensures { true }
   = 
    ()
ends
module ProjectionToggle_Main
  use mach.int.Int32
  let rec cfg main [@cfg:stackify] () : () =
  var _0 : ();
  var _9 : bool;
  var _10 : bool;
  var _11 : int32;
  {
    _10 <- _11 = (15 : int32);
    _9 <- not _10;
    return _0
  }
end
module C217_Ex_Impl
  use seq.Seq

  function tail (self : Seq.seq int) : Seq.seq int =  self[1..]

  let rec ghost function ex (c : Seq.seq int) (a : int) : int
    variant {Seq.length c}

   = ex (tail c) a
end
module ListIndexMut_IndexMut
  type borrowed 'a = { current : 'a ; final : 'a; }
  use mach.int.UInt32
  let rec cfg index_mut [@cfg:stackify] () : borrowed uint32
   =
  var _0 : borrowed uint32;
  var _8 : bool;
  {
    goto BB1
  }
  BB1 {
    switch (_8)
      | False -> return _0
      | True -> absurd
      end
  }
end