diff options
Diffstat (limited to 'test/structs.tm')
| -rw-r--r-- | test/structs.tm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/structs.tm b/test/structs.tm index 53d356f5..d68bbe8b 100644 --- a/test/structs.tm +++ b/test/structs.tm @@ -1,4 +1,5 @@ +struct Single(x:Int) struct Pair(x,y:Int) struct Mixed(x:Int, text:Text) struct LinkedList(x:Int, next=!@LinkedList) @@ -8,6 +9,8 @@ struct CorecursiveA(other:@CorecursiveB?) struct CorecursiveB(other=!@CorecursiveA) func test_literals(): + >> Single(123) + = Single(123) >> x := Pair(10, 20) = Pair(x=10, y=20) >> y := Pair(y=20, 10) |
