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