aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/opened
diff options
context:
space:
mode:
authorMatthieu Sozeau2014-06-17 16:33:18 +0200
committerMatthieu Sozeau2014-06-17 17:19:03 +0200
commitedd1ee4f881f9b8023524a823bcd15759038bc76 (patch)
tree9c1bdba48176068215d096f727c05dca412ea283 /test-suite/bugs/opened
parent8fa5a0351954cc561fa751901fe0f06eeac4ce7a (diff)
Fix HoTT bug #84, binding scopes to projections.
Diffstat (limited to 'test-suite/bugs/opened')
-rw-r--r--test-suite/bugs/opened/HoTT_coq_084.v49
1 files changed, 0 insertions, 49 deletions
diff --git a/test-suite/bugs/opened/HoTT_coq_084.v b/test-suite/bugs/opened/HoTT_coq_084.v
deleted file mode 100644
index 5568ec244e..0000000000
--- a/test-suite/bugs/opened/HoTT_coq_084.v
+++ /dev/null
@@ -1,49 +0,0 @@
-Set Implicit Arguments.
-Set Universe Polymorphism.
-
-Module success.
- Unset Primitive Projections.
-
- Record group :=
- { carrier : Type;
- id : carrier }.
-
- Notation "1" := (id _) : g_scope.
-
- Delimit Scope g_scope with g.
- Bind Scope g_scope with carrier.
-
- Section foo.
- Variable g : group.
- Variable comp : carrier g -> carrier g -> carrier g.
-
- Check comp 1 1.
- End foo.
-End success.
-
-Module failure.
- Set Primitive Projections.
-
- Record group :=
- { carrier : Type;
- id : carrier }.
-
- Notation "1" := (id _) : g_scope.
-
- Delimit Scope g_scope with g.
- Bind Scope g_scope with carrier.
-
- Section foo.
- Variable g : group.
- Variable comp : carrier g -> carrier g -> carrier g.
-
- Fail Check comp 1 1.
- (* Toplevel input, characters 11-12:
-Error:
-In environment
-g : group
-comp : carrier g -> carrier g -> carrier g
-The term "1" has type "nat" while it is expected to have type "carrier g".
- *)
- End foo.
-End failure.