test-suite/bugs/bug_4250.v
raw| 1 | Require Import TestSuite.funind. |
| 2 | Require Import TestSuite.vector. |
| 3 | Generalizable All Variables. |
| 4 | |
| 5 | Definition f `{n:nat , u:Vector.t A n} := n. |
| 6 | |
| 7 | Function f2 {A:Type} {n:nat} {v:Vector.t A n} : nat := n. |
| 8 | |
| 9 | (* fails with "The reference A was not found in the current environment." *) |
| 10 | Function f3 `{n:nat , u:Vector.t A n} := u. |
| 11 | Check R_f3_complete. |