From: Chris Lattner Date: Thu, 15 May 2003 18:52:08 +0000 (+0000) Subject: New testcase that breaks the assembler. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a60f855dc6878846708f71102ac32bd7abfda258;p=oota-llvm.git New testcase that breaks the assembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6233 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 +} +