From 6e935875b5cfbdee8a7f6573f9f01c48db746d56 Mon Sep 17 00:00:00 2001 From: Clément Pit--Claudel Date: Wed, 19 Aug 2015 22:22:54 -0700 Subject: Add a wishlist folder to the test suite, with things that we do not support (yet!) The curent examples include semi-bugs regarding calc statements and strings, and stuff about sequences --- Test/wishlist/calc.dfy | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Test/wishlist/calc.dfy (limited to 'Test/wishlist/calc.dfy') diff --git a/Test/wishlist/calc.dfy b/Test/wishlist/calc.dfy new file mode 100644 index 00000000..308fbb9a --- /dev/null +++ b/Test/wishlist/calc.dfy @@ -0,0 +1,17 @@ +// RUN: %dafny /compile:0 /print:"%t.print" /dprint:"%t.dprint" "%s" > "%t" +// RUN: %diff "%s.expect" "%t" + +// There is a bug in Dafny that causes the error from `L` to be reported at +// position 0 in this file, instead of on a curly brace. + +lemma L() + ensures false { + calc { true; } +} + +// Empty calc statements work fine, though: + +lemma L'() + ensures false { + calc { } +} -- cgit v1.2.3