diff options
| author | letouzey | 2013-03-25 16:48:23 +0000 |
|---|---|---|
| committer | letouzey | 2013-03-25 16:48:23 +0000 |
| commit | 4337b5d98357f0e6ea4509d5ea954a598497a00e (patch) | |
| tree | 10f401181532f00ffd7b5979ebda9e7af384b341 /test-suite | |
| parent | 86357b63200368c818bbade20f2d71a3ddbaacb5 (diff) | |
Enrich test-suite with a test for #2734
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16365 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/shouldsucceed/2734.v | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/shouldsucceed/2734.v b/test-suite/bugs/closed/shouldsucceed/2734.v new file mode 100644 index 0000000000..826361be2b --- /dev/null +++ b/test-suite/bugs/closed/shouldsucceed/2734.v @@ -0,0 +1,15 @@ +Require Import Arith List. +Require Import OrderedTypeEx. + +Module Adr. + Include Nat_as_OT. + Definition nat2t (i: nat) : t := i. +End Adr. + +Inductive expr := Const: Adr.t -> expr. + +Inductive control := Go: expr -> control. + +Definition program := (Adr.t * (control))%type. + +Fail Definition myprog : program := (Adr.nat2t 0, Go (Adr.nat2t 0) ).
\ No newline at end of file |
