blob: 27cf637e10bcf32828a5ea46cff6f9dcc10e0a81 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc
2
3%.str_1 = internal constant [4 x sbyte] c"%d\0A\00"
4
5declare int %printf(sbyte*, ...)
6
7int %main() {
8 %f = getelementptr [4 x sbyte]* %.str_1, long 0, long 0
9 %d = add int 0, 0
10 %tmp.0 = call int (sbyte*, ...)* %printf(sbyte* %f, int %d)
11 ret int 0
12}
13