From c6d160193cba277905946f27c0dca2bdadb4a919 Mon Sep 17 00:00:00 2001 From: Clément Pit--Claudel Date: Sun, 23 Aug 2015 00:20:16 -0700 Subject: Added /autoTriggers to two tests where it only makes a cosmetic difference --- Test/dafny0/AutoReq.dfy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Test/dafny0/AutoReq.dfy') diff --git a/Test/dafny0/AutoReq.dfy b/Test/dafny0/AutoReq.dfy index acfe6b8d..d7c87e6d 100644 --- a/Test/dafny0/AutoReq.dfy +++ b/Test/dafny0/AutoReq.dfy @@ -1,4 +1,4 @@ -// RUN: %dafny /compile:0 /print:"%t.print" /dprint:"%t.dprint" "%s" > "%t" +// RUN: %dafny /compile:0 /print:"%t.print" /dprint:"%t.dprint" /autoTriggers:1 "%s" > "%t" // RUN: %diff "%s.expect" "%t" function f(x:int) : bool @@ -313,3 +313,8 @@ module OpaqueTest { } } + +// autoTriggers added because it causes an extra error message related to +// violated preconditions to appear. That extra message is due to the extra +// precondition involving a split quantifier: the user now gets two traces, one +// for each conjunct. -- cgit v1.2.3