diff options
| author | Maxime Dénès | 2015-08-03 10:31:48 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2015-08-03 10:31:48 +0200 |
| commit | dda6d8f639c912597d5bf9e4f1d8c2c118b8dc48 (patch) | |
| tree | dc3fdeb5ed3166b009893fb75b224449aee14941 | |
| parent | 97fba91264669d495643f6a3de6a09790ae2a1da (diff) | |
Test file for #4254: Mutual inductives with parameters on Type raises anomaly.
| -rw-r--r-- | test-suite/bugs/closed/4254.v | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4254.v b/test-suite/bugs/closed/4254.v new file mode 100644 index 0000000000..ef219973df --- /dev/null +++ b/test-suite/bugs/closed/4254.v @@ -0,0 +1,13 @@ +Inductive foo (V:Type):Type := + | Foo : list (bar V) -> foo V +with bar (V:Type): Type := + | bar1: bar V + | bar2 : V -> bar V. + +Module WithPoly. +Polymorphic Inductive foo (V:Type):Type := + | Foo : list (bar V) -> foo V +with bar (V:Type): Type := + | bar1: bar V + | bar2 : V -> bar V. +End WithPoly. |
