1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

new testcase

llvm-svn: 22160
This commit is contained in:
Chris Lattner 2005-05-20 22:25:44 +00:00
parent d7d4a57a4f
commit 93c0328e89

View File

@ -0,0 +1,10 @@
; RUN: llvm-as < %s | opt -simplify-libcalls -disable-output
%G = constant [3 x sbyte] c"%s\00"
declare int %sprintf(sbyte*, sbyte*, ...)
void %foo(sbyte*%P, int *%X) {
call int(sbyte*,sbyte*, ...)* %sprintf(sbyte* %P, sbyte* getelementptr ([3 x sbyte]* %G, int 0, int 0), int* %X)
ret void
}