summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4046.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/4046.v')
-rw-r--r--test-suite/bugs/closed/4046.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4046.v b/test-suite/bugs/closed/4046.v
new file mode 100644
index 00000000..8f8779b7
--- /dev/null
+++ b/test-suite/bugs/closed/4046.v
@@ -0,0 +1,6 @@
+Module Import Foo.
+ Class Foo := { foo : Type }.
+End Foo.
+
+Instance f : Foo := { foo := nat }. (* works fine *)
+Instance f' : Foo.Foo := { Foo.foo := nat }.