Skip to content

Commit

Permalink
Add test for issue #4205
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelMayer committed Jun 22, 2023
1 parent 58b1b9b commit d316c50
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Test/git-issues/git-issue-4205.dfy
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// RUN: %baredafny verify %args "%s" > "%t"
// RUN: %diff "%s.expect" "%t"

trait T {
opaque function bar(): int
}

class F extends T {
opaque function bar(): int {
1
}
}
2 changes: 2 additions & 0 deletions Test/git-issues/git-issue-4205.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 d316c50

Please sign in to comment.