From d652155ae013f36a1ee17653a8e458baad2d9c2c Mon Sep 17 00:00:00 2001 From: Checkmate50 Date: Mon, 6 Jun 2016 23:14:18 -0600 Subject: Merging complete. Everything looks good *crosses fingers* --- Test/test20/TypeDecls1.bpl | 50 +++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'Test/test20/TypeDecls1.bpl') diff --git a/Test/test20/TypeDecls1.bpl b/Test/test20/TypeDecls1.bpl index 52f28e06..a4fa7de6 100644 --- a/Test/test20/TypeDecls1.bpl +++ b/Test/test20/TypeDecls1.bpl @@ -1,25 +1,25 @@ -// RUN: %boogie -noVerify "%s" > "%t" -// RUN: %diff "%s.expect" "%t" - -// set of maps from anything to a specific type a -const mapSet : [[b]a]bool; - -const emptySet : [a]bool; - -axiom mapSet[5]; // type error - -axiom mapSet[emptySet] == true; - -axiom mapSet[emptySet := false] != mapSet; - -axiom mapSet[emptySet := 5] == mapSet; // type error - -axiom emptySet[13 := true][13] == true; - -axiom (forall f : [c]int, x : ref :: mapSet[f] ==> f[x] >= 0); - -axiom (forall f : [c]c :: mapSet[f]); // type error - -axiom mapSet[mapSet] == true; // type error - -type ref; +// RUN: %boogie -noVerify "%s" > "%t" +// RUN: %diff "%s.expect" "%t" + +// set of maps from anything to a specific type a +const mapSet : [[b]a]bool; + +const emptySet : [a]bool; + +axiom mapSet[5]; // type error + +axiom mapSet[emptySet] == true; + +axiom mapSet[emptySet := false] != mapSet; + +axiom mapSet[emptySet := 5] == mapSet; // type error + +axiom emptySet[13 := true][13] == true; + +axiom (forall f : [c]int, x : ref :: mapSet[f] ==> f[x] >= 0); + +axiom (forall f : [c]c :: mapSet[f]); // type error + +axiom mapSet[mapSet] == true; // type error + +type ref; -- cgit v1.2.3