aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-06-17 14:34:31 +0200
committerEmilio Jesus Gallego Arias2019-06-17 14:34:31 +0200
commit7e47fea5ce050c8129ba2d6f94e93fbc29763a3b (patch)
tree64332162af0fa9f39e3aa098ca6b0fee1fa8b501 /test-suite
parent40f440c775a8722d62ca4e87221ea9da1fdac5fa (diff)
parent1c5e2508d6a9604ffd77eff3140a86eafbc672a9 (diff)
Merge PR #10226: Simplify implicit_quantifiers
Reviewed-by: herbelin
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_10225.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_10225.v b/test-suite/bugs/closed/bug_10225.v
new file mode 100644
index 0000000000..6d6bb39a65
--- /dev/null
+++ b/test-suite/bugs/closed/bug_10225.v
@@ -0,0 +1,7 @@
+
+Class Bar := {}.
+Instance bb : Bar := {}.
+
+Class Foo := { xx : Bar; foo : nat }.
+
+Fail Instance bar : Foo := { foo := 1 + 1; foo := 2 + 2 }.