-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8da3f42
commit 54122bf
Showing
15 changed files
with
153 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Path_test | ||
Path_test | ||
Path_test | ||
Path_test | ||
Path_test | ||
Path_test.M | ||
Path_test.M | ||
Path_test.M | ||
Path_test.M | ||
Path_test.M.Nested | ||
Path_test.M.Nested | ||
Path_test.M | ||
Path_test | ||
Path_test.N | ||
Path_test.N | ||
Path_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(include ../utils/dune.common) | ||
|
||
(include dune.inc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
(rule | ||
(deps | ||
%{bin:gospel} | ||
(:checker %{project_root}/test/utils/testchecker.exe)) | ||
(action | ||
(with-outputs-to path_test.mli.output | ||
(run %{checker} %{dep:path_test.mli} --p)))) | ||
|
||
(rule | ||
(alias runtest) | ||
(action | ||
(diff path_test.mli path_test.mli.output))) | ||
|
||
(rule | ||
(alias test-cmis) | ||
(action | ||
(chdir %{project_root} | ||
; Syntax sanity check | ||
(run ocamlc -c %{dep:path_test.mli})))) | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
val x : int | ||
val y : int -> int | ||
|
||
type t | ||
|
||
val w : t | ||
|
||
val z : t -> t | ||
(*@ r = z arg | ||
ensures arg = r *) | ||
|
||
module M : sig | ||
|
||
val x : int | ||
val y : int -> int | ||
|
||
(*@ function f (n : int) : int *) | ||
(*@ axiom a : forall n. f n = n + 1 *) | ||
|
||
module Nested : sig | ||
val x : int | ||
val y : int -> int | ||
end | ||
end | ||
|
||
module N : sig | ||
|
||
val x : int | ||
val y : int -> int | ||
|
||
end | ||
|
||
|
||
(* {gospel_expected| | ||
Path_test | ||
Path_test | ||
Path_test | ||
Path_test | ||
Path_test | ||
Path_test.M | ||
Path_test.M | ||
Path_test.M | ||
Path_test.M | ||
Path_test.M.Nested | ||
Path_test.M.Nested | ||
Path_test.M | ||
Path_test | ||
Path_test.N | ||
Path_test.N | ||
Path_test | ||
|gospel_expected} *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters