aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-11-15 00:19:56 +0100
committerPierre-Marie Pédrot2020-11-15 00:19:56 +0100
commita237a3d2c9de704873e1e20fa38282cf3562cddf (patch)
treef5e03d513d2efcf96fa079b9babe0ab6c4ab548a /test-suite
parentecea6eda26e18dfacff3793d6ceed5b63e46bb3e (diff)
parent76483168ec6a27a1cf456aa8ead92273e2c74bfd (diff)
Merge PR #13350: Fix incorrect "avoid" set in globenv extra data
Reviewed-by: ppedrot
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_13348.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_13348.v b/test-suite/bugs/closed/bug_13348.v
new file mode 100644
index 0000000000..d3d5d3e5b4
--- /dev/null
+++ b/test-suite/bugs/closed/bug_13348.v
@@ -0,0 +1,10 @@
+Generalizable All Variables.
+
+Class Inhabited (A : Type) : Type := populate { inhabitant : A }.
+Arguments populate {_} _.
+
+Set Mangle Names.
+Axioms _0 _1 _2 : Prop.
+
+Instance impl_inhabited {A} {B} {_3:Inhabited B} : Inhabited (A -> B)
+ := populate (fun _ => inhabitant).