aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/blob/multiple_fields.sy
blob: ce4c61f843d2107d5ce85b84e9ae18b34e15e4ee (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
}