blob: 1e7b6e31b5c03b912ef122664c779f99bd577915 (
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
|
// RUN: %boogie -proverWarnings:1 "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
function a() returns(bv32);
axiom a() == a();
axiom 0bv5 != 1bv5;
// -------------------------
type $x;
function g() returns($x);
type Field x;
var $gmem : <x>[ref, Field x] x;
const unique f : Field $x;
procedure qq()
modifies $gmem;
{
$gmem[null, f] := g();
}
type ref;
const null : ref;
|