blob: a37d03ebb3875038aff5bf9841144778184523e5 [file] [log] [blame]
Dan Gohman7dc1def2008-06-09 21:26:13 +00001; RUN: llvm-as < %s | llvm-dis | grep 7 | count 3
2
3define void @foo({i32, i32}* %x) nounwind {
4 store {i32, i32}{i32 7, i32 9}, {i32, i32}* %x
5 ret void
6}
7define void @foo_empty({}* %x) nounwind {
8 store {}{}, {}* %x
9 ret void
10}
11define void @bar([2 x i32]* %x) nounwind {
12 store [2 x i32][i32 7, i32 9], [2 x i32]* %x
13 ret void
14}
15define void @bar_empty([0 x i32]* %x) nounwind {
16 store [0 x i32][], [0 x i32]* %x
17 ret void
18}
19define void @qux(<{i32, i32}>* %x) nounwind {
20 store <{i32, i32}><{i32 7, i32 9}>, <{i32, i32}>* %x
21 ret void
22}
23define void @qux_empty(<{}>* %x) nounwind {
24 store <{}><{}>, <{}>* %x
25 ret void
26}
27