diff options
| author | Maxime Dénès | 2017-09-25 11:01:43 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-09-25 11:01:43 +0200 |
| commit | 4b6383889d4d38de4c9a28bee960b30114a51b16 (patch) | |
| tree | 833ee7e1155e2e12014ad7af1db7b4930b734412 /test-suite | |
| parent | 43cd1660807b7da915d405d7aa9af8082b5d85f6 (diff) | |
| parent | 22a3a79f32d5f795143bd808810aba890c630313 (diff) | |
Merge PR #1085: Fix BZ#5755 (incorrect treatment of let-ins in parameters of inductive types)
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/5755.v | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5755.v b/test-suite/bugs/closed/5755.v new file mode 100644 index 0000000000..e07fdcf831 --- /dev/null +++ b/test-suite/bugs/closed/5755.v @@ -0,0 +1,16 @@ +(* Sections taking care of let-ins for inductive types *) + +Section Foo. + +Inductive foo (A : Type) (x : A) (y := x) (y : A) := Foo. + +End Foo. + +Section Foo2. + +Variable B : Type. +Variable b : B. +Let c := b. +Inductive foo2 (A : Type) (x : A) (y := x) (y : A) := Foo2 : c=c -> foo2 A x y. + +End Foo2. |
