summaryrefslogtreecommitdiff
path: root/Test/dafny0/Strings.dfy.expect
diff options
context:
space:
mode:
authorGravatar leino <unknown>2014-10-20 17:08:46 -0700
committerGravatar leino <unknown>2014-10-20 17:08:46 -0700
commit82edb1b179916ee61655ab7e425a17ab5145fac8 (patch)
treed921e9e5a05a5eafbf04e77800a06b73bfed6c6f /Test/dafny0/Strings.dfy.expect
parent963c6622a33dcff4875dbd44be1702cb979c917c (diff)
Added types "char" and "string" (the latter being a synonym for "seq<char>").
Added string literals with various escapes--a subset of those supported in C# and similar languages, including the C# verbatim strings. Previously, the "print" statement and custom attributes could support expression-or-string arguments; there is no longer a need to special-case these, so these arguments are now just expressions. Fixed lack of operator resolution in custom attributes.
Diffstat (limited to 'Test/dafny0/Strings.dfy.expect')
-rw-r--r--Test/dafny0/Strings.dfy.expect11
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/dafny0/Strings.dfy.expect b/Test/dafny0/Strings.dfy.expect
new file mode 100644
index 00000000..56bffd98
--- /dev/null
+++ b/Test/dafny0/Strings.dfy.expect
@@ -0,0 +1,11 @@
+
+Dafny program verifier finished with 12 verified, 0 errors
+Program compiled successfully
+Running...
+
+ch = D
+The string is: DDD
+Escape X: I say "hello" \ you say 'good bye'
+Escape Y: I say "hello" \ you say 'good bye'
+Escape Z: There needs to be R&D
+ Yes, sir