aboutsummaryrefslogtreecommitdiff
path: root/tools/odinfmt/tests/ternary.odin
blob: 5eb044e4b4f2e11f0a8429d634cd17ee068d1c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package odinfmt_test


main :: proc() {
	a := .Group in options ? group(visit_expr(p, expr, called_from, options)) : visit_expr(p, expr, called_from, options)


	document = cons(
		document,
		.Group in options ? group(visit_expr(p, expr, called_from, options)) : visit_expr(p, expr, called_from, options),
	)
}