blob: 3111f2d321657fc0fabf20f8a1b39582b1bb47f5 [file] [log] [blame]
Duncan Sands0ebaf912008-01-11 21:46:24 +00001; RUN: llvm-as < %s | llvm-dis | grep byval
Duncan P. N. Exon Smithc8eccd12014-08-19 21:08:27 +00002; RUN: verify-uselistorder %s
Duncan Sands7e46c502008-01-11 21:23:39 +00003
4 %struct = type { }
5
6declare void @foo(...)
7
8define void @bar() {
David Blaikie23af6482015-04-16 23:24:18 +00009 call void (...) @foo(%struct* byval null )
Duncan Sands7e46c502008-01-11 21:23:39 +000010 ret void
11}