aboutsummaryrefslogtreecommitdiff
path: root/tools/odinfmt/tests/if.odin
blob: 26ada3df17240821de7557bbdfa06002cf9a9da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package odinfmt_test


if_one :: proc() {
	if i := strings.index(imp.fullpath, ":"); i != -1 && i > 1 && i < len(imp.fullpath) - 1 {
	}
}

if_two :: proc() {
	if ret := unmarshal(j[field[:len(field) - 1]], a, allocadsdsdsdsdsdsdsdtor); ret != nil {
	}
}

if_three :: proc() {
	if position_in_node(
		position_context.binary.raaaaaaaaaaaaaaaaaaaight,
		position_context.position) {
 	}
}