llvm/test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll
2006-12-02 04:23:10 +00:00

10 lines
363 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
global int* cast (float* %0 to int*) ;; Forward numeric reference
global float* %0 ;; Duplicate forward numeric reference
global float 0.0
%array = constant [2 x int] [ int 12, int 52 ]
%arrayPtr = global int* getelementptr ([2 x int]* %array, long 0, long 0) ;; int* &%array[0][0]