11 lines
172 B
LLVM
11 lines
172 B
LLVM
|
; RUN: not llvm-as < %s > /dev/null 2>&1
|
||
|
|
||
|
%struct = type { }
|
||
|
|
||
|
declare void @foo(...)
|
||
|
|
||
|
define void @bar() {
|
||
|
call void (...) @foo(%struct* sret(%struct) null )
|
||
|
ret void
|
||
|
}
|