summaryrefslogtreecommitdiff
path: root/tests/test_len.tnsl
blob: a23b4df7765b72a64ca0b3b22ded1beabe04b9a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
struct A {
	int i, j, k, l
}

struct B {
	uint a, b, c, d
}

struct C {
	bool x,
	uint32 y
}

/; main [int]
	A a
	B b
	C c
	return len a + len b + len c
;/