aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-string.qbe
blob: ba992da0f37b59f186828e674f0be8df28a3fe67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export data $x = align 1 { b "hello", z 1, }
export
function $f() {
@start.1
	%.1 =l alloc4 6
@body.2
	%.2 =l add %.1, 0
	storeb 104, %.2
	%.3 =l add %.1, 1
	storeb 101, %.3
	%.4 =l add %.1, 2
	storeb 108, %.4
	%.5 =l add %.1, 3
	storeb 108, %.5
	%.6 =l add %.1, 4
	storeb 111, %.6
	%.7 =l add %.1, 5
	storeb 0, %.7
	ret
}