summaryrefslogtreecommitdiff
path: root/tests/structs.exp
blob: ffcbbef5905414c988c3714743ae0cf72cf4d42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Structs Test:
new SimpleStruct ()
new PublicStruct ()
new StructWithCreationMethod ()
StructWithCreationMethod
new StructWithNamedCreationMethod ()
StructWithNamedCreationMethod
new SimpleStruct () { field = 1 }
simple_struct.field = 1
test_in_parameter: st.field = 1
test_ref_parameter: st.field = 1
after test_ref_parameter: st.field = 2
after test_out_parameter: st.field = 3
.