Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Commit

Permalink
regression test for issue #49
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmcmil committed Nov 4, 2019
1 parent 3477e94 commit 0674d2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/interpdef1.ivy
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#lang ivy1.7
type nat
interpret nat->nat
relation (N:nat < N:nat)
definition (N:nat < N1) = true
invariant X:nat<X
invariant false
1 change: 1 addition & 0 deletions test/run_expects.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
checks = [
['.',
[
['interpdef1','interpdef1.ivy: line 5: error: definition of interpreted symbol <'],
['whileexists1','OK'],
['whilesome1','OK'],
['whilesome2','OK'],
Expand Down

0 comments on commit 0674d2b

Please sign in to comment.