aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll
blob: 51bc9503dd52f86639c411efc836b2bc3957d598 (plain)
1
2
3
4
5
; 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]