New testcase that breaks the assembler.
authorChris Lattner <sabre@nondot.org>
Thu, 15 May 2003 18:52:08 +0000 (18:52 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 15 May 2003 18:52:08 +0000 (18:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6233 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2003-05-15-AssemblerProblem.llx [new file with mode: 0644]

diff --git a/test/Assembler/2003-05-15-AssemblerProblem.llx b/test/Assembler/2003-05-15-AssemblerProblem.llx
new file mode 100644 (file)
index 0000000..c1f9041
--- /dev/null
@@ -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
+}
+