aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2018-08-21 15:26:57 +0200
committerHugo Herbelin2018-09-02 13:23:27 +0200
commit0e7ff6359c144c5ab4d7e16334c8ddc0d3078125 (patch)
treef1e0ff6d53462dbb33b6ad40f314b728038419d1 /test-suite
parenta62ab4903d61b9a3c2e8725ee0e6354c0a073348 (diff)
Fixing #7867 (class error message tries to print a "fun" with no binder).
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/7867.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/7867.v b/test-suite/bugs/closed/7867.v
new file mode 100644
index 0000000000..d0c7902756
--- /dev/null
+++ b/test-suite/bugs/closed/7867.v
@@ -0,0 +1,4 @@
+(* Was a printer anomaly due to an internal lambda with no binders *)
+
+Class class := { foo : nat }.
+Fail Instance : class := { foo := 0 ; bar := 0 }.