summaryrefslogtreecommitdiff
path: root/test/Other/2004-08-16-PackedGlobalConstant.ll
blob: 638e862cc6f637186461e41783c6c883c93236d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis

%foo = global <2 x int> <int 0, int 1>;
%bar = uninitialized global <2 x int>;

implementation   ; Functions:

void %main()
{
	%t0 = load <2 x int>* %foo;
	store <2 x int> %t0, <2 x int>* %bar   
	ret void
}