diff options
Diffstat (limited to 'test/Assembler/2008-01-11-VarargAttrs.ll')
-rw-r--r-- | test/Assembler/2008-01-11-VarargAttrs.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Assembler/2008-01-11-VarargAttrs.ll b/test/Assembler/2008-01-11-VarargAttrs.ll new file mode 100644 index 0000000..c46b2a5 --- /dev/null +++ b/test/Assembler/2008-01-11-VarargAttrs.ll @@ -0,0 +1,10 @@ +; RUN: llvm-as < %s | llvm-dis | grep byval | count 2 + + %struct = type { } + +declare void @foo(...) + +define void @bar() { + call void (...)* @foo(%struct* byval null, %struct* byval null ) + ret void +} |