aboutsummaryrefslogtreecommitdiff
path: root/coq/ex/test-cases/require-string
diff options
context:
space:
mode:
authorHendrik Tews2011-01-14 21:59:26 +0000
committerHendrik Tews2011-01-14 21:59:26 +0000
commite1f5de972cbc0eb8d88675366c34ee66aca1b1b4 (patch)
treea53834d26af2a1594b1289bd3d3c884e484f5780 /coq/ex/test-cases/require-string
parent462d8403fbe048aac215d809bfa72e7360384071 (diff)
- more coq test cases (some with surprising and embarrassing bugs)
Diffstat (limited to 'coq/ex/test-cases/require-string')
-rw-r--r--coq/ex/test-cases/require-string/README3
-rw-r--r--coq/ex/test-cases/require-string/a.v3
-rw-r--r--coq/ex/test-cases/require-string/b.v8
3 files changed, 14 insertions, 0 deletions
diff --git a/coq/ex/test-cases/require-string/README b/coq/ex/test-cases/require-string/README
new file mode 100644
index 00000000..7b3c5cbe
--- /dev/null
+++ b/coq/ex/test-cases/require-string/README
@@ -0,0 +1,3 @@
+The "Require string" variant is currently not supported.
+
+Here b.v contains Require "a.vo".
diff --git a/coq/ex/test-cases/require-string/a.v b/coq/ex/test-cases/require-string/a.v
new file mode 100644
index 00000000..fc20deef
--- /dev/null
+++ b/coq/ex/test-cases/require-string/a.v
@@ -0,0 +1,3 @@
+(* This file has no dependencies. *)
+
+Definition a := 0. \ No newline at end of file
diff --git a/coq/ex/test-cases/require-string/b.v b/coq/ex/test-cases/require-string/b.v
new file mode 100644
index 00000000..219c29e2
--- /dev/null
+++ b/coq/ex/test-cases/require-string/b.v
@@ -0,0 +1,8 @@
+(* This file depends on a.v. *)
+
+(* The following works in Proof General 4.0, if a.v has been compiled and
+ * if the path is the correct absolute path.
+ *)
+Require "/home/tews/src/pg/coq/ex/test-cases/require-string/a".
+
+Print a.a. \ No newline at end of file