summaryrefslogtreecommitdiff
path: root/test/Assembler/2003-08-21-ConstantExprCast-Fold.llx
blob: 37b0363e191f22d96a6887750a2c241a775df54d (plain)
1
2
3
4
5
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | not grep getelementptr

%A = external global { float }          ; <{ float }*> [#uses=1]
global int* cast (float* getelementptr ({ float }* %A, long 0, ubyte 0) to int*)