diff --git a/test/Assembler/2003-05-15-AssemblerProblem.llx b/test/Assembler/2003-05-15-AssemblerProblem.llx new file mode 100644 index 00000000000..c1f90417693 --- /dev/null +++ b/test/Assembler/2003-05-15-AssemblerProblem.llx @@ -0,0 +1,12 @@ +; RUN: as < %s -o /dev/null -f + +void %test() { + call void (...)* cast (void (short*, int)* %AddString to void (...)*)(short* null, int 0) + ret void +} + +void %AddString(short* %tmp.124, int %tmp.127) { + call void (...)* cast (void (short*, int)* %AddString to void (...)*)(short* %tmp.124, int %tmp.127) + ret void +} +