aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-string.qbe
blob: ee83e5034f766fd9e80c9fcabb57264c7e7bd41e (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\000", }
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
}