test-suite/bugs/bug_5077.v
raw| 1 | (* Testing robustness of typing for a fixpoint with evars in its type *) |
| 2 | |
| 3 | Inductive foo (n : nat) : Type := . |
| 4 | Definition foo_denote {n} (x : foo n) : Type := match x with end. |
| 5 | |
| 6 | Definition baz : forall n (x : foo n), foo_denote x. |
| 7 | refine (fix go n (x : foo n) : foo_denote x := _). |
| 8 | Abort. |