diff options
| author | letouzey | 2013-03-18 18:55:24 +0000 |
|---|---|---|
| committer | letouzey | 2013-03-18 18:55:24 +0000 |
| commit | 906b063b798e6c0787fd8f514b9d7f1f8eef9cf8 (patch) | |
| tree | f59273e5505a9ad8fde210b1e3b4178257480f1c /test-suite/bugs | |
| parent | a19029dee21f77391d99b780582f82bb3ba3b831 (diff) | |
Fix for bug #3004 (thanks Hugo!)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16317 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/bugs')
| -rw-r--r-- | test-suite/bugs/closed/shouldsucceed/3004.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/shouldsucceed/3004.v b/test-suite/bugs/closed/shouldsucceed/3004.v new file mode 100644 index 0000000000..896b1958b0 --- /dev/null +++ b/test-suite/bugs/closed/shouldsucceed/3004.v @@ -0,0 +1,7 @@ +Set Implicit Arguments. +Unset Strict Implicit. +Parameter (M : nat -> Type). +Parameter (mp : forall (T1 T2 : Type) (f : T1 -> T2), list T1 -> list T2). + +Definition foo (s : list {n : nat & M n}) := + let exT := existT in mp (fun x => projT1 x) s. |
