diff options
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/change.v | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/success/change.v b/test-suite/success/change.v index f775f818ab..cd2dd77f9e 100644 --- a/test-suite/success/change.v +++ b/test-suite/success/change.v @@ -45,3 +45,8 @@ Abort. Goal True. change ?x with x. Abort. + +(* Check typability after change of type subterms *) +Goal nat = nat :> Set. +Fail change nat with (@id Type nat). (* would otherwise be ill-typed *) +Abort. |
