aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/output/Coercions.v
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2002-08-14 18:38:46 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2002-08-14 18:38:46 +0000
commitf1c066e03c1ff006a1c4368eda33e06594e718e3 (patch)
treeb20ad91dc2c5e3563de37bcb40e45796f840d3ab /test-suite/output/Coercions.v
parentb2da28f35836163e5fd9ef8a483742edd1690bb8 (diff)
Test affichage optimal des coercions
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2967 85f007b7-540e-0410-9357-904b9bb8a0f7
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 000000000..61b69038f
--- /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).