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