This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
Definition mynat := nat.
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
(coq.theory
|
||||
(name basic)
|
||||
(package no-stdlib)
|
||||
(stdlib no)
|
||||
(synopsis "Test Coq library"))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(lang dune 3.5)
|
||||
|
||||
(using coq 0.6)
|
||||
|
|
@ -0,0 +1 @@
|
|||
From Coq Require Import Prelude.
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
Test that when `(stdlib no)` is provided, the standard library is not bound to `Coq`
|
||||
and the prelude is not imported; we expect the below two tests to fail.
|
||||
|
||||
$ dune build --display=short foo.vo
|
||||
Warning: Coq Language Versions lower than 0.8 have been deprecated in Dune
|
||||
3.8 and will be removed in an upcoming Dune version.
|
||||
Hint: To disable this warning, add the following to your dune-project file:
|
||||
(warnings (deprecated_coq_lang_lt_08 disabled))
|
||||
coqdep .basic.theory.d
|
||||
*** Warning: in file foo.v, library Prelude is required from root Coq and has not been found in the loadpath!
|
||||
coqc foo.{glob,vo} (exit 1)
|
||||
File "./foo.v", line 1, characters 0-32:
|
||||
Error: Cannot find a physical path bound to logical path
|
||||
Prelude with prefix Coq.
|
||||
|
||||
[1]
|
||||
|
||||
$ dune build --display=short bar.vo
|
||||
Warning: Coq Language Versions lower than 0.8 have been deprecated in Dune
|
||||
3.8 and will be removed in an upcoming Dune version.
|
||||
Hint: To disable this warning, add the following to your dune-project file:
|
||||
(warnings (deprecated_coq_lang_lt_08 disabled))
|
||||
coqc bar.{glob,vo} (exit 1)
|
||||
File "./bar.v", line 1, characters 20-23:
|
||||
Error: The reference nat was not found in the current environment.
|
||||
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue