aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/auto/multiple_fields.sy
blob: 2a4b3c0371215433e9387a3446b632428cd6f3c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
start :: fn {
blob A {
                            a: int
                            b: int
                          }
                          a := A()
                          a.a = 2
                          a.b = 3
                          a.a + a.b <=> 5
                          5 <=> a.a + a.b
}