aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorEnrico Tassi2020-07-08 15:51:15 +0200
committerEnrico Tassi2020-07-08 15:51:15 +0200
commit769823c425f1b3ffc87141ede814976f6cf44128 (patch)
tree1d22245084936bf8e7a04899dd875ac5ee6d23a8 /test-suite
parent421b2214a9bcb232739346ef27ae20df64728eb4 (diff)
parent1e92ed4d129aea5ea4e9300a24e1135cc186c341 (diff)
Merge PR #12627: Fix Canonical with universe polymorphism and primitive projection
Reviewed-by: ejgallego Ack-by: gares
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_12528.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_12528.v b/test-suite/bugs/closed/bug_12528.v
new file mode 100644
index 0000000000..4ab05ac9b8
--- /dev/null
+++ b/test-suite/bugs/closed/bug_12528.v
@@ -0,0 +1,6 @@
+Set Primitive Projections.
+Set Universe Polymorphism.
+Record ptd := Ptd { t : Type ; p : t }.
+Definition type := Ptd Type (unit:Type).
+Definition type' := Ptd Type (p type).
+Canonical type'.