Added a test case for packed types. Test case kindly provided by Brad Jones
[oota-llvm.git] / test / Feature / packed.ll
1 ; RUN: llvm-as < %s | llvm-dis
2
3 %foo1 = uninitialized global <4 x float>;
4 %foo2 = uninitialized global <2 x int>;
5
6 implementation   ; Functions:
7
8 void %main() 
9 {
10         store <4 x float> <float 1.0, float 2.0, float 3.0, float 4.0>, <4 x float>* %foo1
11         store <2 x int> <int 4, int 4>, <2 x int>* %foo2
12         %l1 = load <4 x float>* %foo1
13         %l2 = load <2 x int>* %foo2
14         ret void
15 }