Added regression that breaks gcc4 build
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 17 May 2006 19:23:31 +0000 (19:23 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 17 May 2006 19:23:31 +0000 (19:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28358 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Alpha/call_adj.ll [new file with mode: 0644]

diff --git a/test/CodeGen/Alpha/call_adj.ll b/test/CodeGen/Alpha/call_adj.ll
new file mode 100644 (file)
index 0000000..d562578
--- /dev/null
@@ -0,0 +1,15 @@
+;All this should do is not crash
+;RUN: llvm-as < %s | llc -march=alpha
+
+target endian = little
+target pointersize = 64
+target triple = "alphaev67-unknown-linux-gnu"
+
+implementation   ; Functions:
+
+void %_ZNSt13basic_filebufIcSt11char_traitsIcEE22_M_convert_to_externalEPcl(uint %f) {
+entry:
+       %tmp49 = alloca sbyte, uint %f          ; <sbyte*> [#uses=1]
+       %tmp = call uint null( sbyte* null, sbyte* null, sbyte* null, sbyte* null, sbyte* null, sbyte* null, sbyte* null)
+       ret void
+}