blob: 460e398252061ec2ca4f45e16498431f0d836aed [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<hlvm xmlns="http://hlvm.org/src/hlvm/Reader/XML/HLVM.rng" pubid="http://hlvm.org/src/hlvm/test/invalid/argscall.hlx">
<bundle id="argscall">
<signature id="no_args" result="void"/>
<signature id="one_arg" result="void">
<arg id="one" type="u32"/>
</signature>
<signature id="two_arg" result="double">
<arg id="one" type="u32"/>
<arg id="two" type="s32"/>
</signature>
<signature id="varargs" result="double" varargs="true">
<arg id="one" type="string"/>
<arg id="two" type="u32"/>
</signature>
<function id="none" type="one_arg" linkage="external"/>
<function id="one" type="one_arg" linkage="external"/>
<function id="two" type="one_arg" linkage="external"/>
<constant id="answer" type="u32">
<dec>42</dec>
</constant>
<program id="argscall">
<block>
<call>
<ref id="none"/>
<ref id="answer"/>
</call>
<call>
<ref id="one"/>
</call>
<call>
<ref id="two"/>
<ref id="answer"/>
</call>
</block>
</program>
</bundle>
</hlvm>