diff options
author | qunyanm <unknown> | 2016-02-09 14:24:59 -0800 |
---|---|---|
committer | qunyanm <unknown> | 2016-02-09 14:24:59 -0800 |
commit | 8ee1a3fdb07906ee3858eb602c1823f9c1343b72 (patch) | |
tree | c703971140a5dc72a1c418d704616ed9d4316449 /Test/dafny4/Bug131.dfy | |
parent | 0d08ec191bf3f15ae89dc243877d9295b3004bc6 (diff) |
Fix issue 131. Instead of crashing, report an error when an undefined member of
a class is referenced.
Diffstat (limited to 'Test/dafny4/Bug131.dfy')
-rw-r--r-- | Test/dafny4/Bug131.dfy | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/dafny4/Bug131.dfy b/Test/dafny4/Bug131.dfy new file mode 100644 index 00000000..5d01cf59 --- /dev/null +++ b/Test/dafny4/Bug131.dfy @@ -0,0 +1,11 @@ +// RUN: %dafny /compile:0 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
+class Cell {
+ method Test(c: Cell) {
+ assert c.F();
+ }
+}
+
+predicate F()
+
|