diff options
| author | krasimir <krasimir@chalmers.se> | 2010-01-12 13:18:37 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2010-01-12 13:18:37 +0000 |
| commit | f8af5122b5dd1e09288df59e5f6d77705f99b287 (patch) | |
| tree | 5a859cf1cbf3a2c91b81ae86ae0b94a928437eea /testsuite/runtime/linearize/Test.gf | |
| parent | 712d079e7c296e4f66bc3d7c30e127b71ecc24d1 (diff) | |
additional tests for linearizations
Diffstat (limited to 'testsuite/runtime/linearize/Test.gf')
| -rw-r--r-- | testsuite/runtime/linearize/Test.gf | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/testsuite/runtime/linearize/Test.gf b/testsuite/runtime/linearize/Test.gf index 2b7459806..db120bcc3 100644 --- a/testsuite/runtime/linearize/Test.gf +++ b/testsuite/runtime/linearize/Test.gf @@ -1,9 +1,16 @@ abstract Test = {
-cat P ;
+cat S ;
cat E ;
-fun Exist : (E -> P) -> P ;
- Even : E -> P ;
+fun Exist : (E -> S) -> S ;
+ Even : E -> S ;
+
+fun a : E ;
+ f,fa,fb : E -> S ;
+
+fun IsString : String -> S ;
+ IsInteger : Int -> S ;
+ IsFloat : Float -> S ;
}
\ No newline at end of file |
