diff options
| author | Maxime Dénès | 2018-03-04 16:26:37 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2018-03-04 16:26:37 +0100 |
| commit | 5003953d45ea0e780cd50bb9d6521799adf18079 (patch) | |
| tree | 6b784e05f1cc59f291c0cff39f6a94ff51837f4b /test-suite | |
| parent | df9d3a36e71d6d224286811fdc529ad5a955deb7 (diff) | |
| parent | 893f8a3a3c573ab6b11cc3938cc67ccdc1b6b4ea (diff) | |
Merge PR #6735: [toplevel] [vernac] Remove Load hack and check / document supported scenarios.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/output/Load.out | 6 | ||||
| -rw-r--r-- | test-suite/output/Load.v | 7 | ||||
| -rw-r--r-- | test-suite/output/load/Load_noproof.v | 1 | ||||
| -rw-r--r-- | test-suite/output/load/Load_openproof.v | 1 | ||||
| -rw-r--r-- | test-suite/output/load/Load_proof.v | 2 |
5 files changed, 17 insertions, 0 deletions
diff --git a/test-suite/output/Load.out b/test-suite/output/Load.out new file mode 100644 index 0000000000..0904d5540b --- /dev/null +++ b/test-suite/output/Load.out @@ -0,0 +1,6 @@ +f = 2 + : nat +u = I + : True +The command has indeed failed with message: +Files processed by Load cannot leave open proofs. diff --git a/test-suite/output/Load.v b/test-suite/output/Load.v new file mode 100644 index 0000000000..967507415a --- /dev/null +++ b/test-suite/output/Load.v @@ -0,0 +1,7 @@ +Load "output/load/Load_noproof.v". +Print f. + +Load "output/load/Load_proof.v". +Print u. + +Fail Load "output/load/Load_openproof.v". diff --git a/test-suite/output/load/Load_noproof.v b/test-suite/output/load/Load_noproof.v new file mode 100644 index 0000000000..aaf1ffe26d --- /dev/null +++ b/test-suite/output/load/Load_noproof.v @@ -0,0 +1 @@ +Definition f := 2. diff --git a/test-suite/output/load/Load_openproof.v b/test-suite/output/load/Load_openproof.v new file mode 100644 index 0000000000..204d4ecbfe --- /dev/null +++ b/test-suite/output/load/Load_openproof.v @@ -0,0 +1 @@ +Lemma k : True. diff --git a/test-suite/output/load/Load_proof.v b/test-suite/output/load/Load_proof.v new file mode 100644 index 0000000000..e47f66a193 --- /dev/null +++ b/test-suite/output/load/Load_proof.v @@ -0,0 +1,2 @@ +Lemma u : True. +Proof. exact I. Qed. |
