test-suite/bugs/bug_5755.v
raw| 1 | (* Sections taking care of let-ins for inductive types *) |
| 2 | |
| 3 | Section Foo. |
| 4 | |
| 5 | Inductive foo (A : Type) (x : A) (y := x) (y : A) := Foo. |
| 6 | |
| 7 | End Foo. |
| 8 | |
| 9 | Section Foo2. |
| 10 | |
| 11 | Variable B : Type. |
| 12 | Variable b : B. |
| 13 | Let c := b. |
| 14 | Inductive foo2 (A : Type) (x : A) (y := x) (y : A) := Foo2 : c=c -> foo2 A x y. |
| 15 | |
| 16 | End Foo2. |