blob: c0aedc80b4c3577f47fc85e2c3481a7974038201 [file] [log] [blame]
Duncan Sands8bc16f02008-01-11 21:46:24 +00001; RUN: llvm-as < %s | llvm-dis | grep byval
Duncan Sandseb824702008-01-11 21:23:39 +00002
3 %struct = type { }
4
5declare void @foo(...)
6
7define void @bar() {
Duncan Sands8bc16f02008-01-11 21:46:24 +00008 call void (...)* @foo(%struct* byval null )
Duncan Sandseb824702008-01-11 21:23:39 +00009 ret void
10}