aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Dénès2015-07-16 19:24:23 +0200
committerMaxime Dénès2015-07-16 19:24:23 +0200
commit6a15394c542e5f16bce9b75fc033397c454f47e9 (patch)
tree595c1158384a0c9f396df2c0c976f034f15b1821
parente4aa8f13680a81ec7e2ebe1281b20d5791d13440 (diff)
Test file for #3819.
-rw-r--r--test-suite/bugs/closed/3819.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3819.v b/test-suite/bugs/closed/3819.v
new file mode 100644
index 0000000000..355d23a58b
--- /dev/null
+++ b/test-suite/bugs/closed/3819.v
@@ -0,0 +1,9 @@
+Record Op := { t : Type ; op : t -> t }.
+
+Canonical Structure OpType : Op := Build_Op Type (fun X => X).
+
+Lemma test1 (X:Type) : eq (op OpType X) X.
+Proof eq_refl.
+
+Definition test2 (A:Type) : eq (op _ A) A.
+Proof eq_refl. \ No newline at end of file