2008-01-11 22:46:24 +01:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | grep byval
|
2008-01-11 22:23:39 +01:00
|
|
|
|
|
|
|
%struct = type { }
|
|
|
|
|
|
|
|
declare void @foo(...)
|
|
|
|
|
|
|
|
define void @bar() {
|
2008-01-11 22:46:24 +01:00
|
|
|
call void (...)* @foo(%struct* byval null )
|
2008-01-11 22:23:39 +01:00
|
|
|
ret void
|
|
|
|
}
|