blob: 936aa5f744348204c8d8ad6ee4707c4bb6b6a45d [file] [log] [blame]
Chris Lattnere4ae94c2002-11-17 21:06:13 +00001
2void %test(sbyte* %P, short* %P, int* %P) {
3 %V = load sbyte* %P
4 store sbyte %V, sbyte* %P
5
6 %V = load short* %P
7 store short %V, short* %P
8
9 %V = load int* %P
10 store int %V, int* %P
11 ret void
12}
Chris Lattner9f1bd802002-12-04 17:15:07 +000013
14void %main() {
15 %A = alloca sbyte
16 %B = alloca short
17 %C = alloca int
18 call void %test(sbyte* %A, short* %B, int* %C)
19 ret void
20}