1 ; RUN: llvm-as %s -o /dev/null
3 ; Should assemble without error.
5 declare void @similar_param_ptrty_callee(ptr)
6 define void @similar_param_ptrty(ptr) {
7 musttail call void @similar_param_ptrty_callee(ptr null)
11 declare ptr @similar_ret_ptrty_callee()
12 define ptr @similar_ret_ptrty() {
13 %v = musttail call ptr @similar_ret_ptrty_callee()
17 declare x86_thiscallcc void @varargs_thiscall(ptr, ...)
18 define x86_thiscallcc void @varargs_thiscall_thunk(ptr %this, ...) {
19 musttail call x86_thiscallcc void (ptr, ...) @varargs_thiscall(ptr %this, ...)
23 declare x86_fastcallcc void @varargs_fastcall(ptr, ...)
24 define x86_fastcallcc void @varargs_fastcall_thunk(ptr %this, ...) {
25 musttail call x86_fastcallcc void (ptr, ...) @varargs_fastcall(ptr %this, ...)
29 define x86_thiscallcc void @varargs_thiscall_unreachable(ptr %this, ...) {
33 define x86_thiscallcc void @varargs_thiscall_ret_unreachable(ptr %this, ...) {
34 musttail call x86_thiscallcc void (ptr, ...) @varargs_thiscall(ptr %this, ...)