add simple tests
svn: r18638 original commit: 752e93fc88111d4edd189eef4a3dc133dd7269d5
This commit is contained in:
parent
501766dde0
commit
8e2865524c
8
collects/tests/typed-scheme/succeed/simple-occurr.ss
Normal file
8
collects/tests/typed-scheme/succeed/simple-occurr.ss
Normal file
|
@ -0,0 +1,8 @@
|
|||
#lang typed/scheme
|
||||
|
||||
(: x (U #f Number))
|
||||
(define x 7)
|
||||
|
||||
(if x (add1 x) 7)
|
||||
|
||||
(if (number? x) (add1 x) 7)
|
Loading…
Reference in New Issue
Block a user