~mcf/cproc

ref: 34ae0d48e9669687003c26f94e07fa00d12dd41f cproc/test/struct-return-2.qbe -rw-r--r-- 150 bytes
34ae0d48Michael Forney Add tests for char/wchar_t signedness 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
type :.1 = { w, w, }
export
function w $f() {
@start.1
@body.2
	%.1 =:.1 call $g()
	%.2 =l mul 4, 1
	%.3 =l add %.1, %.2
	%.4 =w loadw %.3
	ret %.4
}