aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-08-19 16:46:20 +0200
committerGaëtan Gilbert2019-10-05 12:10:24 +0200
commitd7f11221f797e501fe3bcdb06fe7ef3f559869c3 (patch)
tree3e98ac43fcac7740d31cff171e56bc499309164e /test-suite/bugs
parent2cdccb3f050b68fdfa36ab1ac444b7507564cb77 (diff)
Fix #10669 incorrect substitution in context outside section
Diffstat (limited to 'test-suite/bugs')
-rw-r--r--test-suite/bugs/closed/bug_10669.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_10669.v b/test-suite/bugs/closed/bug_10669.v
new file mode 100644
index 0000000000..433e300acb
--- /dev/null
+++ b/test-suite/bugs/closed/bug_10669.v
@@ -0,0 +1,12 @@
+
+Context (A0:Type) (B0:A0).
+Definition foo0 := B0.
+
+Set Universe Polymorphism.
+Context (A1:Type) (B1:A1).
+Definition foo1 := B1.
+
+Section S.
+ Context (A2:Type) (B2:A2).
+ Definition foo2 := B2.
+End S.