brintos

brintos / llvm-project-archived public Read only

0
0
Text · 344 B · c480c1c Raw
13 lines · plain
1; RUN: llvm-as < %s | llvm-dis > %t1.ll2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll3; RUN: diff %t1.ll %t2.ll4 5 6declare i32 @printf(ptr, ...)   ;; Prototype for: int __builtin_printf(const char*, ...)7 8define i32 @testvarar() {9        call i32 (ptr, ...) @printf( ptr null, i32 12, i8 42 )         ; <i32>:1 [#uses=1]10        ret i32 %111}12 13