diff options
author | Samuel Mimram <smimram@debian.org> | 2006-11-21 21:38:49 +0000 |
---|---|---|
committer | Samuel Mimram <smimram@debian.org> | 2006-11-21 21:38:49 +0000 |
commit | 208a0f7bfa5249f9795e6e225f309cbe715c0fad (patch) | |
tree | 591e9e512063e34099782e2518573f15ffeac003 /test-suite/success/polymorphism.v | |
parent | de0085539583f59dc7c4bf4e272e18711d565466 (diff) |
Imported Upstream version 8.1~gammaupstream/8.1.gamma
Diffstat (limited to 'test-suite/success/polymorphism.v')
-rw-r--r-- | test-suite/success/polymorphism.v | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/success/polymorphism.v b/test-suite/success/polymorphism.v new file mode 100644 index 00000000..5a008f18 --- /dev/null +++ b/test-suite/success/polymorphism.v @@ -0,0 +1,12 @@ +(* Some tests of sort-polymorphisme *) +Section S. +Variable A:Type. +(* +Definition f (B:Type) := (A * B)%type. +*) +Inductive I (B:Type) : Type := prod : A->B->I B. +End S. +(* +Check f nat nat : Set. +*) +Check I nat nat : Set. |