New testcase
authorChris Lattner <sabre@nondot.org>
Thu, 21 Aug 2003 19:37:46 +0000 (19:37 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Aug 2003 19:37:46 +0000 (19:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8014 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2003-08-21-ConstantExprCast-Fold.llx [new file with mode: 0644]

diff --git a/test/Assembler/2003-08-21-ConstantExprCast-Fold.llx b/test/Assembler/2003-08-21-ConstantExprCast-Fold.llx
new file mode 100644 (file)
index 0000000..f57dc37
--- /dev/null
@@ -0,0 +1,5 @@
+; RUN: as < %s | dis | not grep getelementptr
+
+%A = external global { float }          ; <{ float }*> [#uses=1]
+global int* cast (float* getelementptr ({ float }* %A, long 0, ubyte 0) to int*)
+