diff options
author | 2017-06-26 14:09:47 +0200 | |
---|---|---|
committer | 2017-06-26 14:09:47 +0200 | |
commit | a579a0a0d45206f67e73273d36209fbc7bb2dddc (patch) | |
tree | ba5651d506ae97090c1269b3be388fe841ddc75c /test-suite/bugs | |
parent | 165f683b45755112932967891328e3ccd7808ab3 (diff) | |
parent | 181cb78d09ba55c7a6d62b333b26595a4fbb360a (diff) |
Merge PR#828: closing bug #4250
Diffstat (limited to 'test-suite/bugs')
-rw-r--r-- | test-suite/bugs/closed/4250.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4250.v b/test-suite/bugs/closed/4250.v new file mode 100644 index 000000000..74cacf559 --- /dev/null +++ b/test-suite/bugs/closed/4250.v @@ -0,0 +1,11 @@ +Require Import FunInd. +Require Vector. +Generalizable All Variables. + +Definition f `{n:nat , u:Vector.t A n} := n. + +Function f2 {A:Type} {n:nat} {v:Vector.t A n} : nat := n. + +(* fails with "The reference A was not found in the current environment." *) +Function f3 `{n:nat , u:Vector.t A n} := u. +Check R_f3_complete.
\ No newline at end of file |