Skip to content

Commit 1c4bf02

Browse files
committed
test
1 parent 4dda238 commit 1c4bf02

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

_CoqProject.test-suite

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ tests/lock.v
6868
tests/interleave_context.v
6969
tests/not_same_key.v
7070
#tests/factory_sort.v
71-
tests/factory_sort_tac.v
71+
tests/hb_pack.v
7272
tests/declare.v
7373
tests/short.v
7474
tests/primitive_records.v

tests/factory_sort_tac.v renamed to tests/hb_pack.v

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,15 @@ pose X := Foo.pack T (HasFoo.Build A P T H).
111111
Check X : Foo.type A P.
112112
Abort.
113113

114-
End test2.
114+
End test2.
115+
116+
HB.mixin Record isID T (F : T -> T) := { p : forall x : T, F x = x }.
117+
HB.structure Definition Fun T := { F of isID T F }.
118+
119+
Goal forall f : nat -> nat, forall p : (forall x, f x = x ), True.
120+
intros f p.
121+
pose F := isID.Build nat f p.
122+
pose T : Fun nat := HB.pack nat f F.
123+
Check T : Fun.type nat.
124+
Abort.
125+

0 commit comments

Comments
 (0)