diff options
author | Samuel Mimram <smimram@debian.org> | 2006-06-16 14:41:51 +0000 |
---|---|---|
committer | Samuel Mimram <smimram@debian.org> | 2006-06-16 14:41:51 +0000 |
commit | e978da8c41d8a3c19a29036d9c569fbe2a4616b0 (patch) | |
tree | 0de2a907ee93c795978f3c843155bee91c11ed60 /test-suite/success/if.v | |
parent | 3ef7797ef6fc605dfafb32523261fe1b023aeecb (diff) |
Imported Upstream version 8.0pl3+8.1betaupstream/8.0pl3+8.1beta
Diffstat (limited to 'test-suite/success/if.v')
-rw-r--r-- | test-suite/success/if.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/success/if.v b/test-suite/success/if.v index 3f763863..9fde95e8 100644 --- a/test-suite/success/if.v +++ b/test-suite/success/if.v @@ -3,3 +3,10 @@ Check (fun b : bool => if b then Type else nat). +(* Check correct use of if-then-else predicate annotation (cf bug 690) *) + +Check fun b : bool => + if b as b0 return (if b0 then b0 = true else b0 = false) + then refl_equal true + else refl_equal false. + |