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/test0/WhereParsing1.bpl | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'Test/test0/WhereParsing1.bpl') diff --git a/Test/test0/WhereParsing1.bpl b/Test/test0/WhereParsing1.bpl index b65f7ce9..2e9d4b37 100644 --- a/Test/test0/WhereParsing1.bpl +++ b/Test/test0/WhereParsing1.bpl @@ -1,17 +1,17 @@ -// RUN: %boogie -noVerify "%s" > "%t" -// RUN: %diff "%s.expect" "%t" -const x: int; - -function R(int) returns (bool); -function Even(int) returns (bool); - -var y: int where R(y); -var g: int where g == 12; - -procedure P(x: int where x > 0) returns (y: int where y < 0); - requires x < 100; - modifies g; - ensures -100 < y; - -function f(a: int, b: int where b < 0) // error: where not allowed among function parameters - returns (bool); +// RUN: %boogie -noVerify "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +const x: int; + +function R(int) returns (bool); +function Even(int) returns (bool); + +var y: int where R(y); +var g: int where g == 12; + +procedure P(x: int where x > 0) returns (y: int where y < 0); + requires x < 100; + modifies g; + ensures -100 < y; + +function f(a: int, b: int where b < 0) // error: where not allowed among function parameters + returns (bool); -- cgit v1.2.3