summaryrefslogtreecommitdiff
path: root/test-suite/output/Coercions.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/output/Coercions.v')
-rw-r--r--test-suite/output/Coercions.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/output/Coercions.v b/test-suite/output/Coercions.v
new file mode 100644
index 00000000..61b69038
--- /dev/null
+++ b/test-suite/output/Coercions.v
@@ -0,0 +1,9 @@
+(* Submitted by Randy Pollack *)
+
+Record pred [S:Set]: Type := { sp_pred :> S -> Prop }.
+Record rel [S:Set]: Type := { sr_rel :> S -> S -> Prop }.
+
+Section testSection.
+Variables S: Set; P: (pred S); R: (rel S); x:S.
+Check (P x).
+Check (R x x).