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:
parent
d7d4a57a4f
commit
93c0328e89
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user