summaryrefslogtreecommitdiff
path: root/Test/test0/AttributeParsing.bpl
blob: a6a8418bdca1c8991535422c50bd2573c67ba1a7 (plain)
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
type {:sourcefile "test.ssc"} T; 

function {:source "test.scc"} f(int) returns (int);

const {:description "The largest integer value"} unique MAXINT: int;

axiom {:naming "MyFavoriteAxiom"} (forall i: int :: {f(i)} f(i) == i+1);

var {:description "memory"} $Heap: [ref, name]any;

var {:sort_of_like_a_trigger (forall i: int :: true)} Bla: [ref, name]any;

procedure {:use_impl 1} foo(x : int) returns(n : int);

implementation {:id 1} foo(x : int) returns(n : int)
{
  block1: return;
}

implementation {:id 2} foo(x : int) returns(n : int)
{
  block1: return;
}

type ref, any, name;