From 436966ef61a3e4330bbe705d0d0319fcde5f3099 Mon Sep 17 00:00:00 2001 From: qunyanm Date: Mon, 25 Jan 2016 11:30:02 -0800 Subject: Fix issue 121. Don't split QuantifierExpr that are empty. --- Test/dafny4/Bug121.dfy | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Test/dafny4/Bug121.dfy (limited to 'Test/dafny4/Bug121.dfy') diff --git a/Test/dafny4/Bug121.dfy b/Test/dafny4/Bug121.dfy new file mode 100644 index 00000000..13798fa8 --- /dev/null +++ b/Test/dafny4/Bug121.dfy @@ -0,0 +1,18 @@ +// RUN: %dafny /compile:0 /autoTriggers:1 "%s" > "%t" +// RUN: %diff "%s.expect" "%t" + +method Try (a:int, b:int, c:int) +{ + forall + ensures a * c == a * c; + ensures b * c == b * c; + { + } +} + + + + + + + -- cgit v1.2.3