diff options
author | 2005-12-21 23:50:17 +0000 | |
---|---|---|
committer | 2005-12-21 23:50:17 +0000 | |
commit | 4d4f08acb5e5f56d38289e5629173bc1b8b5fd57 (patch) | |
tree | c160d442d54dbd15cbd0ab3500cdf94d0a6da74e /test-suite/output/Coercions.v | |
parent | 960859c0c10e029f9768d0d70addeca8f6b6d784 (diff) |
Abandon tests syntaxe v7; remplacement des .v par des fichiers en syntaxe v8
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7693 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/output/Coercions.v')
-rw-r--r-- | test-suite/output/Coercions.v | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test-suite/output/Coercions.v b/test-suite/output/Coercions.v index 2ad8b924e..c88b143f8 100644 --- a/test-suite/output/Coercions.v +++ b/test-suite/output/Coercions.v @@ -1,15 +1,15 @@ (* Submitted by Randy Pollack *) -Record pred [S:Set]: Type := { sp_pred :> S -> Prop }. -Record rel [S:Set]: Type := { sr_rel :> S -> S -> Prop }. +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. +Variables (S : Set) (P : pred S) (R : rel S) (x : S). Check (P x). Check (R x x). End testSection. (* Check the removal of coercions with target Funclass *) -Record foo : Type := { D :> nat -> nat }. -Check [x:foo;n:nat](x n). +Record foo : Type := {D :> nat -> nat}. +Check (fun (x : foo) (n : nat) => x n). |