Skip to content

Commit 45fbacf

Browse files
authored
Merge pull request #221 from math-comp/fail-220
Testsuite item for #220
2 parents a60dd38 + 7bd24e5 commit 45fbacf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

_CoqProject.test-suite

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ tests/unit/mixin_src_has_mixin_instance.v
9494
tests/unit/mk_src_map.v
9595
tests/unit/close_hole_term.v
9696
tests/unit/struct.v
97+
tests/factory_when_notation.v
9798

9899
-R tests HB.tests
99100
-R examples HB.examples

tests/factory_when_notation.v

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
From HB Require Import structures.
2+
Notation x := (fun x : nat => true).
3+
HB.mixin Record m T := {x : T}.
4+
HB.factory Record f T := { x : T }.
5+
HB.builders Context T of f T.
6+
HB.instance Definition _ := m.Build T x.
7+
HB.end.

0 commit comments

Comments
 (0)