Skip to content

Commit

Permalink
Add test for issue #4315
Browse files Browse the repository at this point in the history
  • Loading branch information
EkanshdeepGupta committed Jul 20, 2023
1 parent 2901f18 commit 7d37370
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Test/git-issues/git-issue-4315.dfy
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// RUN: %baredafny run %args -t:cs "%s" > "%t"
// RUN: %diff "%s.expect" "%t"

module M1 {
class C {
opaque function f() : bool { true }
}
}

module M2 refines M1 {
}
2 changes: 2 additions & 0 deletions Test/git-issues/git-issue-4315.dfy.expect
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

Dafny program verifier finished with TODO verified, TODO errors

0 comments on commit 7d37370

Please sign in to comment.