mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
New testcase, check that the bc file correctly encodes varargs nonccc calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28500 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
052fb5110f
commit
e812d1133b
8
test/Assembler/2006-05-26-VarargsCallEncode.ll
Normal file
8
test/Assembler/2006-05-26-VarargsCallEncode.ll
Normal file
@ -0,0 +1,8 @@
|
||||
; RUN: llvm-as < %s | llvm-dis | grep 'tail call csretcc'
|
||||
|
||||
declare csretcc void %foo({}*, ...)
|
||||
|
||||
void %bar() {
|
||||
tail call csretcc void({}*, ...)* %foo({}* null, int 0)
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue
Block a user