aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorMaxime Dénès2017-07-11 14:44:59 +0200
committerMaxime Dénès2017-07-11 14:44:59 +0200
commit0986ee250818a5cb517b5e59fbd31e2cd1667775 (patch)
tree01d38409f9db6202aabe16249df7d489cd853920 /test-suite
parentb5ad6a80107f196fa8ffcc4f5dff58bea8c4f70e (diff)
parent032e4f2bf5cb6eadba6ebbb16dd5d0c812dd2033 (diff)
Merge branch 'v8.7'
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/output/Warnings.out3
-rw-r--r--test-suite/output/Warnings.v5
2 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/output/Warnings.out b/test-suite/output/Warnings.out
new file mode 100644
index 0000000000..a70f8ca45a
--- /dev/null
+++ b/test-suite/output/Warnings.out
@@ -0,0 +1,3 @@
+File "stdin", line 4, characters 0-22:
+Warning: Projection value has no head constant: fun x : B => x in canonical
+instance a of b, ignoring it. [projection-no-head-constant,typechecker]
diff --git a/test-suite/output/Warnings.v b/test-suite/output/Warnings.v
new file mode 100644
index 0000000000..7465442cab
--- /dev/null
+++ b/test-suite/output/Warnings.v
@@ -0,0 +1,5 @@
+(* Term in warning was not printed in the right environment at some time *)
+Record A := { B:Type; b:B->B }.
+Definition a B := {| B:=B; b:=fun x => x |}.
+Canonical Structure a.
+