diff options
| author | Gaëtan Gilbert | 2020-01-06 14:35:08 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2020-01-27 14:12:52 +0100 |
| commit | 72201ba9afb95ed0bfdd9e9e2cdeb089b7224a76 (patch) | |
| tree | 689b991242ee441c15ef244a85b80f0912eeeebe /test-suite | |
| parent | 506b35913103c17e4d27663aa0f977452d5815b0 (diff) | |
Checker: use inductive's check_template flag
And enable related test.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/failure/Template.v | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/test-suite/failure/Template.v b/test-suite/failure/Template.v index 75b2a56169..fbd9c8bcba 100644 --- a/test-suite/failure/Template.v +++ b/test-suite/failure/Template.v @@ -1,4 +1,4 @@ -(* + Module TestUnsetTemplateCheck. Unset Template Check. @@ -15,18 +15,14 @@ Module TestUnsetTemplateCheck. (* Can only succeed if no template check is performed *) Check myind True : Prop. - Print Assumptions myind. - (* - Axioms: - myind is template polymorphic on all its universe parameters. - *) About myind. -(* -myind : Type@{Top.60} -> Type@{Top.60} -myind is assumed template universe polymorphic on Top.60 -Argument scope is [type_scope] -Expands to: Inductive Top.TestUnsetTemplateCheck.myind -*) + (* test discharge puts things in the right order (by using the + checker on the result) *) + Section S. + + Variables (A:Type) (a:A). + Inductive bb (B:Type) := BB : forall a', a = a' -> B -> bb B. + End S. + End TestUnsetTemplateCheck. -*) |
