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

6 lines
241 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
%array = constant [2 x int] [ int 12, int 52 ] ; <[2 x int]*> [#uses=1]
%arrayPtr = global int* getelementptr ([2 x int]* %array, long 0, long 0) ; <int**> [#uses=1]